You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MS SQL doesn't allow altering a column that has an active unique index. I'm not sure if we should work around it in Directus itself somehow, or if this can be abstracted away in knex (ref @nickrum). Lets see how knex/knex#4390 pans out
The text was updated successfully, but these errors were encountered:
Should be doable 😁 I think Knex is already doing something similar for default constraints, so there is no real reason to not do the abstraction for unique indices within Knex as well.
The unique index itself can't be deleted through Directus, apparently since the drop index command is followed by an alter column command. Whenever the only change is removing the unique index, the latter is redundant, right?
MS SQL doesn't allow altering a column that has an active unique index. I'm not sure if we should work around it in Directus itself somehow, or if this can be abstracted away in
knex
(ref @nickrum). Lets see how knex/knex#4390 pans outThe text was updated successfully, but these errors were encountered: