mattermost/server/channels/db/migrations/postgres/000036_create_sharedchannelusers.down.sql

5 lines
197 B
SQL

CREATE INDEX IF NOT EXISTS idx_sharedchannelusers_user_id ON sharedchannelusers (userid);
ALTER TABLE sharedchannelusers DROP COLUMN IF EXISTS channelid;
DROP TABLE IF EXISTS sharedchannelusers;