Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1023 from matrix-org/erikj/update_fix
Browse files Browse the repository at this point in the history
Fix push_display_name_rename schema update
  • Loading branch information
erikjohnston authored Aug 18, 2016
2 parents abcb9ae + 732cf72 commit ea166f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synapse/storage/schema/delta/34/push_display_name_rename.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit ea166f2

Please sign in to comment.