docs: fix DB migration, add sqlite migration helper script
This commit is contained in:
9
scripts/sqlite_dump_commands.sh
Normal file
9
scripts/sqlite_dump_commands.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
tables=("users" "groups" "memberships" "jwt_refresh_storage" "jwt_storage" "password_reset_tokens")
|
||||
echo ".header on"
|
||||
|
||||
for table in ${tables[@]}; do
|
||||
echo ".mode insert $table"
|
||||
echo "select * from $table;"
|
||||
done
|
||||
Reference in New Issue
Block a user