blob: e90171010b8ebb541db1366566f7f891870118a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/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;"
|