#✅ Unable to change primary key settings

5 messages · Page 1 of 1 (latest)

floral torrent
#

I want to change the display settings of a primary key. When I change any settings of a primary key and hit apply, I get this error:

[INTERNAL_SERVER_ERROR] alter table "Preset" alter column "name" drop not null - column "name" is in a primary key

vivid pelicanBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

mellow meteor
#

It is a bug in recent versions. https://github.com/directus/directus/issues/18299 and https://github.com/directus/directus/issues/18379 This will for sure be fixed quickly.

GitHub

Describe the Bug It fails with the following error when adding a translation entry to the primary key (or even any change to the primary key) { "errors": [ { "message": "al...

GitHub

Describe the Bug In 9.26, when modifying metadata on a field Directus is detecting a schema change when none has occurred - for example, adding a value to a dropdown list. The issue is caused by li...

floral torrent
#

Oh, got it. Thank you!!

vivid pelicanBOT
#

✅ Unable to change primary key settings