1
0
Fork 0
database/20230219051357_word_inflections.up.sql

5 lines
159 B
PL/PgSQL

BEGIN;
ALTER TABLE words ADD COLUMN inflections TEXT;
ALTER TABLE words ADD CONSTRAINT inflections_is_sane_text
CHECK (is_sane_text(inflections));
COMMIT;