mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
fix migration
This commit is contained in:
parent
af11cc6cfd
commit
f8fd77b83e
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE channel_members ADD COLUMN role TEXT;
|
||||
UPDATE channel_members SET role = CASE WHEN admin THEN 'admin' ELSE 'member' END;
|
||||
|
||||
ALTER TABLE channels ADD COLUMN visibility TEXT NOT NULL DEFAULT 'channel_members';
|
||||
ALTER TABLE channels ADD COLUMN visibility TEXT NOT NULL DEFAULT 'members';
|
||||
|
|
Loading…
Reference in a new issue