memos/store/sqlite/migration/prod/0.2/01__memo_visibility.sql

4 lines
119 B
MySQL
Raw Normal View History

ALTER TABLE
memo
ADD
COLUMN visibility TEXT NOT NULL CHECK (visibility IN ('PUBLIC', 'PRIVATE')) DEFAULT 'PRIVATE';