-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
implement FluidColumnOptions::uniqueIndex()
?
#18
Comments
FluidColumnOptions::uniqueIndex()
FluidColumnOptions::uniqueIndex()
?
I'm not sure I understand. Whet would be the difference between Wouldn't it be better to rewrite the |
My guess is that the handling for the custom option |
I'd say that if a migration has already been applied in production, the change won't impact it. So... yeah.... let's make the change directly in the |
Working on MySQL, when I use the
unique()
method, I get constant diff with my versioned schema, as this method only adds an option on the column, whereas an index is created when actually creating the schema in database. Therefore, I'm wondering whether it would be relevant to have auniqueIndex()
method relying on Doctrine methodTable::createUniqueIndex()
.If agreed, I will gladly implement it.
The text was updated successfully, but these errors were encountered: