docs: fix DB migration, add sqlite migration helper script

This commit is contained in:
Austin Alvarado authored and GitHub committed 2023-03-22 17:07:10 +01:00
1 parent 05dbe6818d
commit 834d68a47e
2 files changed
+28 -5

No files matched your search

+9
View 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