We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you have multiple unique indexes on a table, then this plugin incorrectly concatenates them, instead of creating separate indexes.
unique
$table->unique(["email", "username", "uuid"], 'unique_users');
The problem here is that laravel is trying to create a composite unique index across all those fields. It should instead be:
$table->unique("email", 'unique_users_email'); $table->unique("username", 'unique_users_username'); $table->unique("uuid", 'unique_users_uuid');
The text was updated successfully, but these errors were encountered:
@JonoB But sometimes composite indexes are needed, I will look at it
Sorry, something went wrong.
No branches or pull requests
If you have multiple
unique
indexes on a table, then this plugin incorrectly concatenates them, instead of creating separate indexes.The problem here is that laravel is trying to create a composite unique index across all those fields. It should instead be:
The text was updated successfully, but these errors were encountered: