unique: true
does not generate same index name and constraint in model and migrations
#17312
Open
3 of 6 tasks
Labels
pending-approval
Bug reports that have not been verified yet, or feature requests that have not been accepted yet
type: bug
Issue Creation Checklist
Bug Description
Considering model definition :
When synced, it generates a index with name
products_slug_unique
In migration :
generates an index with name
products_slug_key
(and an additional constraint also namedproducts_slug_key
)What do you expect to happen?
It should be consistent
Environment
Would you be willing to resolve this issue by submitting a Pull Request?
Indicate your interest in the resolution of this issue by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered: