1
0
Fork 0
database/20230324221957_remove_inflections.down.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;