Abstract ID Column Naming

benhaynes asked for this feature almost 3 years ago — 2 comments

benhaynes commented almost 3 years ago Admin

Many schemas have different naming conventions for their ID field (unique, primary key). Currently Directus requires them to be called id but it would be nice if the ID column could be selected within the table settings (radio button).

| benhaynes commented almost 2 years ago Admin

We have now abstracted the PK (id) column so that anything can be used. Simply assign it the Primary Key interface and you should be all set! Available in 6.4 – releasing now.

Join the discussion!

with GitHub to comment