mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 19:49:21 -05:00
Add a database-prepare-for-0.0.1.sh
This commit is contained in:
parent
5494815c70
commit
1317afcb9a
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user