Primary keys aren't unique [Mar 15]

:man_raising_hand: Akshay asked

Primary keys aren’t unique.

I’ve set a particular column in my table as primary key and I am able to create multiple values with the same text in it. What am I missing?

:man_raising_hand: wkw replied

please create an issue on github n share the details

:man_raising_hand: Akshay replied

Thank you! Also is there a way we could add additional constraints to the table. For example make a column unique. I could do it directly via SQL but was wondering if there could be side-effects? What’s the recommended way to do this?

:man_raising_hand: wkw replied

Currently it’s not supported to do it in GUI. but it works fine if you set it via SQL.

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs