Add a database-prepare-for-0.0.1.sh

This commit is contained in:
Erik Johnston 2014-08-22 12:22:38 +01:00
parent 5494815c70
commit 1317afcb9a

View File

@ -4,6 +4,8 @@
# It will store all the user information, but will *delete* all messages and # It will store all the user information, but will *delete* all messages and
# room data. # room data.
set -e
cp "$1" "$1.bak" cp "$1" "$1.bak"
DUMP=$(sqlite3 "$1" << 'EOF' DUMP=$(sqlite3 "$1" << 'EOF'