directus / directus/directus

Can't update a field that has a unique index

Open
#4,644 3 comments 4 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.