5 lines
159 B
PL/PgSQL
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;
|