memos/store/db/migration/prod/0.2/01__memo_visibility.sql
boojack 848ecd99ee
chore: format SQL (#987)
chore: format sql
2023-01-22 21:16:03 +08:00

4 lines
119 B
SQL

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