Merge pull request #1023 from matrix-org/erikj/update_fix

Fix push_display_name_rename schema update
This commit is contained in:
Erik Johnston 2016-08-18 09:16:53 +01:00 committed by GitHub
commit ea166f2ac9

View file

@ -13,5 +13,8 @@
* limitations under the License.
*/
DELETE FROM push_rules WHERE rule_id = 'global/override/.m.rule.contains_display_name';
UPDATE push_rules SET rule_id = 'global/override/.m.rule.contains_display_name' WHERE rule_id = 'global/underride/.m.rule.contains_display_name';
DELETE FROM push_rules_enable WHERE rule_id = 'global/override/.m.rule.contains_display_name';
UPDATE push_rules_enable SET rule_id = 'global/override/.m.rule.contains_display_name' WHERE rule_id = 'global/underride/.m.rule.contains_display_name';