mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-21 05:43:58 +01:00
Fix push rule bug: can't insert bool into small int column
This commit is contained in:
parent
d79ffa1898
commit
22d2f498fa
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ class PushRuleStore(SQLBaseStore):
|
|||
yield self._simple_upsert(
|
||||
PushRuleEnableTable.table_name,
|
||||
{'user_name': user_name, 'rule_id': rule_id},
|
||||
{'enabled': enabled},
|
||||
{'enabled': 1 if enabled else 0},
|
||||
desc="set_push_rule_enabled",
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue