Require column words.part_id
This commit is contained in:
parent
494f8810b7
commit
02366261ac
2 changed files with 6 additions and 0 deletions
3
20230218074832_require_word_part_id.down.sql
Normal file
3
20230218074832_require_word_part_id.down.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
BEGIN;
|
||||
ALTER TABLE words ALTER COLUMN part_id DROP NOT NULL;
|
||||
COMMIT;
|
3
20230218074832_require_word_part_id.up.sql
Normal file
3
20230218074832_require_word_part_id.up.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
BEGIN;
|
||||
ALTER TABLE words ALTER COLUMN part_id SET NOT NULL;
|
||||
COMMIT;
|
Loading…
Reference in a new issue