Prevent NULL value on NOT NULL column when value is an empty string