mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Go back to storing JSON in TEXT
This commit is contained in:
parent
bc9e69e160
commit
b8092fbc82
11 changed files with 20 additions and 41 deletions
|
@ -366,9 +366,7 @@ class ApplicationServiceTransactionStore(SQLBaseStore):
|
|||
new_txn_id = max(highest_txn_id, last_txn_id) + 1
|
||||
|
||||
# Insert new txn into txn table
|
||||
event_ids = buffer(
|
||||
json.dumps([e.event_id for e in events]).encode("utf8")
|
||||
)
|
||||
event_ids = json.dumps([e.event_id for e in events])
|
||||
txn.execute(
|
||||
"INSERT INTO application_services_txns(as_id, txn_id, event_ids) "
|
||||
"VALUES(?,?,?)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue