mattermost/server/channels/db/migrations/postgres/000012_create_commands.down.sql

8 lines
264 B
SQL

DROP INDEX IF EXISTS idx_commands_team_id;
DROP INDEX IF EXISTS idx_commands_update_at;
DROP INDEX IF EXISTS idx_commands_create_at;
DROP INDEX IF EXISTS idx_commands_delete_at;
ALTER TABLE commands DROP COLUMN IF EXISTS pluginid;
DROP TABLE IF EXISTS commands;