summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2023-03-21 10:49:25 -0700
committerGitHub <noreply@github.com>2023-03-21 10:49:25 -0700
commit96bcc5d9028e745df2f708c92b15e4e5bfc91328 (patch)
treee47acdc66465705ca1ba7a74f55a7613f236bf60 /synapse
parentMake `POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}` endpoint retur... (diff)
downloadsynapse-96bcc5d9028e745df2f708c92b15e4e5bfc91328.tar.xz
Revert "check sqlite database file exists before porting/#14692" (#15301)
Diffstat (limited to 'synapse')
-rwxr-xr-xsynapse/_scripts/synapse_port_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py
index 2c9cbf8b27..78d76d38ad 100755
--- a/synapse/_scripts/synapse_port_db.py
+++ b/synapse/_scripts/synapse_port_db.py
@@ -1329,7 +1329,7 @@ def main() -> None:
     sqlite_config = {
         "name": "sqlite3",
         "args": {
-            "database": "file:{}?mode=rw".format(args.sqlite_database),
+            "database": args.sqlite_database,
             "cp_min": 1,
             "cp_max": 1,
             "check_same_thread": False,