mirror of
https://github.com/ilyakooo0/reshape.git
synced 2024-11-25 23:13:29 +03:00
Remove completed TODO comment
This commit is contained in:
parent
97397c4d0a
commit
de44fdd5f0
@ -190,9 +190,6 @@ impl Action for RemoveColumn {
|
||||
"".to_string()
|
||||
};
|
||||
|
||||
// TODO: If column is NOT NULL, remove the constraint and perform a NULL check in some other way.
|
||||
// Otherwise, it's not possible to update the NOT NULL column from another table even in the same transaction.
|
||||
// Either make the NULL check in here or maybe use a constraint trigger: https://www.postgresql.org/docs/9.0/sql-createconstraint.html.
|
||||
let query = format!(
|
||||
r#"
|
||||
CREATE OR REPLACE FUNCTION {trigger_name}()
|
||||
|
Loading…
Reference in New Issue
Block a user