Can't update a field that has a unique index
Open
Bug
Data Modeling
Engine
MS SQL Server
- Dominant language
- TypeScript
- Stars
- 37.9k
- Forks
- 4.9k
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 36
Description
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 https://github.com/knex/knex/issues/4390 pans out
Contributor guide
Assessment
This issue has not been assessed yet.