-
Notifications
You must be signed in to change notification settings - Fork 255
Open
Description
Not sure if it's for this or EF core repo. But if your constraint name is longer than NAMEDATALEN - 1 (by default 64) it will just be truncated when creating.
But then if you want to alter anything on that constraint or update it, it will fail because it doesn't exist under the full name, it's under truncated name and EF doesn't track that.
Would it be fine to expose MaxNameLength in options so it's configurable? I know EF can't know what's NAMEDATALEN in your DB but we should be able to specify it so we can avoid EF breaking migrations with longer names
Metadata
Metadata
Assignees
Labels
No labels