Add column words.inflections
This commit is contained in:
parent
60c0b2d775
commit
2f47094399
2 changed files with 8 additions and 0 deletions
3
20230219051357_word_inflections.down.sql
Normal file
3
20230219051357_word_inflections.down.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
BEGIN;
|
||||
ALTER TABLE words DROP COLUMN inflections;
|
||||
COMMIT;
|
5
20230219051357_word_inflections.up.sql
Normal file
5
20230219051357_word_inflections.up.sql
Normal file
|
@ -0,0 +1,5 @@
|
|||
BEGIN;
|
||||
ALTER TABLE words ADD COLUMN inflections TEXT;
|
||||
ALTER TABLE words ADD CONSTRAINT inflections_is_sane_text
|
||||
CHECK (is_sane_text(inflections));
|
||||
COMMIT;
|
Loading…
Add table
Reference in a new issue