Sfoglia il codice sorgente

Fix db update script invocation during schema dump

David Robertson 1 anno fa
parent
commit
5f11d0cd7e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      scripts-dev/make_full_schema.sh

+ 1 - 1
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..."
-synapse/_scripts/update_synapse_database.py --database-config --run-background-updates "$SQLITE_CONFIG"
+synapse/_scripts/update_synapse_database.py --database-config "$SQLITE_CONFIG" --run-background-updates
 
 # Create the PostgreSQL database.
 echo "Creating postgres database..."