Add column word_forms.len
This commit is contained in:
parent
2f47094399
commit
bbc272d5ef
2 changed files with 3 additions and 0 deletions
1
20230220082304_word_form_length.down.sql
Normal file
1
20230220082304_word_form_length.down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
ALTER TABLE word_forms DROP COLUMN len;
|
2
20230220082304_word_form_length.up.sql
Normal file
2
20230220082304_word_form_length.up.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE word_forms ADD COLUMN len INTEGER NOT NULL
|
||||
GENERATED ALWAYS AS (length(value)) STORED;
|
Loading…
Reference in a new issue