mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05: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
12 lines
633 B
SQL
12 lines
633 B
SQL
DROP INDEX IF EXISTS IDX_RetentionPolicies_DisplayName;
|
|
CREATE INDEX IF NOT EXISTS IDX_RetentionPolicies_DisplayName_Id ON retentionpolicies (displayname, id);
|
|
|
|
ALTER TABLE retentionpolicieschannels DROP CONSTRAINT IF EXISTS fk_retentionpolicieschannels_retentionpolicies;
|
|
ALTER TABLE retentionpoliciesteams DROP CONSTRAINT IF EXISTS fk_retentionpoliciesteams_retentionpolicies;
|
|
|
|
DROP INDEX IF EXISTS IDX_RetentionPoliciesChannels_PolicyId;
|
|
DROP INDEX IF EXISTS IDX_RetentionPoliciesTeams_PolicyId;
|
|
|
|
DROP TABLE IF EXISTS retentionpolicieschannels;
|
|
DROP TABLE IF EXISTS retentionpoliciesteams;
|
|
DROP TABLE IF EXISTS retentionpolicies;
|