@@ -190,9 +190,6 @@ impl Action for RemoveColumn {
190 "".to_string()
190 "".to_string()
193− // TODO: If column is NOT NULL, remove the constraint and perform a NULL check in some other way.
194− // Otherwise, it's not possible to update the NOT NULL column from another table even in the same transaction.
195− // Either make the NULL check in here or maybe use a constraint trigger: https://www.postgresql.org/docs/9.0/sql-createconstraint.html.
196 let query = format!(
193 let query = format!(
198 CREATE OR REPLACE FUNCTION {trigger_name}()
195 CREATE OR REPLACE FUNCTION {trigger_name}()