summary refs log tree commit diff
path: root/scripts-dev/make_full_schema.sh
diff options
context:
space:
mode:
authorNick Barrett <nick@fizzadar.com>2021-10-06 11:26:18 +0100
committerGitHub <noreply@github.com>2021-10-06 11:26:18 +0100
commitc80878d22a013ed68d3929025bbd40074e66af01 (patch)
tree30fd07e4fa8d7821a5fa22e7ae41a18d49c0124a /scripts-dev/make_full_schema.sh
parentMore types for synapse.util, part 1 (#10888) (diff)
downloadsynapse-c80878d22a013ed68d3929025bbd40074e66af01.tar.xz
Add `--run-background-updates` option to `update_database` script. (#10954)
Signed-off-by: Nick Barrett <nick@beeper.com>
Diffstat (limited to 'scripts-dev/make_full_schema.sh')
-rwxr-xr-xscripts-dev/make_full_schema.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/make_full_schema.sh b/scripts-dev/make_full_schema.sh
index 39bf30d258..c3c90f4ec6 100755
--- a/scripts-dev/make_full_schema.sh
+++ b/scripts-dev/make_full_schema.sh
@@ -147,7 +147,7 @@ python -m synapse.app.homeserver --generate-keys -c "$SQLITE_CONFIG"
 
 # Make sure the SQLite3 database is using the latest schema and has no pending background update.
 echo "Running db background jobs..."
-scripts-dev/update_database --database-config "$SQLITE_CONFIG"
+scripts/update_synapse_database --database-config --run-background-updates "$SQLITE_CONFIG"
 
 # Create the PostgreSQL database.
 echo "Creating postgres database..."