Skip to content
Snippets Groups Projects
Commit d8a921f6 authored by Erik Johnston's avatar Erik Johnston
Browse files

Add database upgrade script

parent 47c7dd59
Branches
Tags
No related merge requests found
#!/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;"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment