mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 02:25:45 +03:00
10 lines
211 B
Bash
Executable file
10 lines
211 B
Bash
Executable file
#!/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;"
|