1
0
Fork 0
database/20230219045623_word_commentary.up.sql

6 lines
156 B
MySQL
Raw Normal View History

2023-02-18 23:58:03 -05:00
BEGIN;
ALTER TABLE words ADD COLUMN commentary TEXT;
ALTER TABLE words ADD CONSTRAINT commentary_is_sane_text
CHECK (is_sane_text(commentary));
COMMIT;