mirror of
https://github.com/usememos/memos.git
synced 2024-12-20 17:51:50 +03:00
3 lines
168 B
SQL
3 lines
168 B
SQL
-- Add visibility field to resource
|
|
ALTER TABLE resource ADD COLUMN visibility TEXT NOT NULL CHECK (visibility IN ('PUBLIC', 'PROTECTED' 'PRIVATE')) DEFAULT 'PRIVATE';
|