diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 14:14:04 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 14:14:39 +0100 |
commit | 756e171ad0715daef6b0bdaccb61b0278a786ef3 (patch) | |
tree | 1b08aa37c2bf428dc96be8542faa6a0d0b2f6c75 /database-prepare-for-0.2.0.sh | |
parent | BF: Do not be polluted by ops events that come when paginating back (diff) | |
download | synapse-756e171ad0715daef6b0bdaccb61b0278a786ef3.tar.xz |
Store SQL DDL deltas as well; attempt to upgrade the database on startup if it's too old
Diffstat (limited to 'database-prepare-for-0.2.0.sh')
-rwxr-xr-x | database-prepare-for-0.2.0.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/database-prepare-for-0.2.0.sh b/database-prepare-for-0.2.0.sh deleted file mode 100755 index e90171010b..0000000000 --- a/database-prepare-for-0.2.0.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# This is will prepare a synapse database for running with v0.2.0 of synapse. - -set -e - -cp "$1" "$1.bak" - -sqlite3 "$1" < "synapse/storage/schema/im.sql" -sqlite3 "$1" <<< "PRAGMA user_version = 2;" |