Support for composite primary keys

In SQL databases I can set a uniqueness constraint for a combination of columns. E.g. in a users library table of purchased items, there should only be one record with given userId and itemId.

Is this supported in DatoCMS, or are there plans to do so in the near future?
Is there a GitHub issue I can follow?

Hello @nelu.malancea thank you for the request!

Wouldn’t this be a subset of this other request: Custom validation ? If so, please upvote the other one, thanks!

I’ll second this request for composite keys. It is really essential in some cases, and there is no way to do it now.

remember to upvote the request as we use the votes to prioritise the requests. Cheers!

Is there any progress on this? I believe Datocms is built on postgres, so this should be a native feature. It’s really important for many types of applications.