Client will set column to "" even if 'Allow empty' is unchecked #980
Answered
by
steve-chavez
nathanlindsay
asked this question in
Questions
-
If you uncheck 'Allow empty' for a column, the client is still able to set the value of that column to "" without throwing any errors. Is this intended behaviour? |
Beta Was this translation helpful? Give feedback.
Answered by
steve-chavez
Mar 30, 2021
Replies: 1 comment
-
Allow empty is for null columns, it doesn't prevent empty alter table tbl add check (trim(col) <> '') (Maybe the GUI can include a shortcut for the check) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nathanlindsay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Allow empty is for null columns, it doesn't prevent empty
text
fields. For doing this, you could add a check constraint:(Maybe the GUI can include a shortcut for the check)