5 lines
156 B
PL/PgSQL
5 lines
156 B
PL/PgSQL
BEGIN;
|
|
ALTER TABLE words ADD COLUMN commentary TEXT;
|
|
ALTER TABLE words ADD CONSTRAINT commentary_is_sane_text
|
|
CHECK (is_sane_text(commentary));
|
|
COMMIT;
|