What is the best way to handle this kind

What is the best way to handle this kind of scenario, I want some fields to be unique and never be null
No description
2 Replies
tsg
tsg2y ago
hi, at the moment the only solution is to mark it as unique and check for not null in application code as you insert. I know this isn't great, unfortunately not null without a default conflicts somewhat with us applying migrations across branches. We do have a plan to solve that, though.
Kaligraphy
KaligraphyOP2y ago
alright
Want results from more Discord servers?
Add your server