1
0
Fork 0
database/20230219045623_word_comment...

6 lines
156 B
MySQL
Raw Permalink Normal View History

2023-02-19 04:58:03 +00:00
BEGIN;
ALTER TABLE words ADD COLUMN commentary TEXT;
ALTER TABLE words ADD CONSTRAINT commentary_is_sane_text
CHECK (is_sane_text(commentary));
COMMIT;