directus/directus

Abstract ID Column Naming

benhaynes asked for this feature about 1 year ago — 2 comments

benhaynes commented about 1 year 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 2 months 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!

Sign-in with GitHub to comment