mirror of
https://github.com/mattermost/mattermost.git
synced 2026-04-15 05:57:37 -04:00
Combines the following repositories into one: https://github.com/mattermost/mattermost-server https://github.com/mattermost/mattermost-webapp https://github.com/mattermost/focalboard https://github.com/mattermost/mattermost-plugin-playbooks
14 lines
528 B
SQL
14 lines
528 B
SQL
CREATE INDEX IF NOT EXISTS idx_teams_name ON teams (name);
|
|
|
|
ALTER TABLE teams DROP COLUMN IF EXISTS allowopeninvite;
|
|
ALTER TABLE teams DROP COLUMN IF EXISTS lastteamiconupdate;
|
|
ALTER TABLE teams DROP COLUMN IF EXISTS description;
|
|
ALTER TABLE teams DROP COLUMN IF EXISTS groupconstrained;
|
|
|
|
DROP INDEX IF EXISTS idx_teams_invite_id;
|
|
DROP INDEX IF EXISTS idx_teams_update_at;
|
|
DROP INDEX IF EXISTS idx_teams_create_at;
|
|
DROP INDEX IF EXISTS idx_teams_delete_at;
|
|
DROP INDEX IF EXISTS idx_teams_scheme_id;
|
|
|
|
DROP TABLE IF EXISTS teams;
|