Skip to content

Client will set column to "" even if 'Allow empty' is unchecked #980

Discussion options

You must be logged in to vote

Allow empty is for null columns, it doesn't prevent empty text fields. For doing this, you could add a check constraint:

alter table tbl add check (trim(col) <> '')

(Maybe the GUI can include a shortcut for the check)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nathanlindsay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants