summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-22 12:22:38 +0100
committerErik Johnston <erik@matrix.org>2014-08-22 12:22:38 +0100
commit1317afcb9a457a9b60dde95dc5d9aea9b9d80789 (patch)
tree7604d4afb12e7f27290704253b47f1547a05a012
parentAdd database-prepare-for-0.0.1.sh that should be run before starting a v0.0.1... (diff)
downloadsynapse-1317afcb9a457a9b60dde95dc5d9aea9b9d80789.tar.xz
Add a database-prepare-for-0.0.1.sh
Diffstat (limited to '')
-rwxr-xr-xdatabase-prepare-for-0.0.1.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/database-prepare-for-0.0.1.sh b/database-prepare-for-0.0.1.sh
index 17c0c5f34e..43d759a5cd 100755
--- a/database-prepare-for-0.0.1.sh
+++ b/database-prepare-for-0.0.1.sh
@@ -4,6 +4,8 @@
 # It will store all the user information, but will *delete* all messages and
 # room data.
 
+set -e
+
 cp "$1" "$1.bak"
 
 DUMP=$(sqlite3 "$1" << 'EOF'