1
0
Fork 0

Add column `word_forms.len`

This commit is contained in:
Alex Kotov 2023-02-20 12:31:24 +04:00
parent 2f47094399
commit bbc272d5ef
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
ALTER TABLE word_forms DROP COLUMN len;

View File

@ -0,0 +1,2 @@
ALTER TABLE word_forms ADD COLUMN len INTEGER NOT NULL
GENERATED ALWAYS AS (length(value)) STORED;