Add a database-prepare-for-0.0.1.sh

paul/schema_breaking_changes
Erik Johnston 2014-08-22 12:22:38 +01:00
parent 5494815c70
commit 1317afcb9a
1 changed files with 2 additions and 0 deletions

View File

@ -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'