feat: kysely and base schema

This commit is contained in:
redglow
2026-06-20 14:29:53 +02:00
parent cbb457ea8c
commit 676b043ff5
7 changed files with 56 additions and 1 deletions
Executable
+7
View File
@@ -0,0 +1,7 @@
read -p "This command will destroy the database and re-create it. Are you sure? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
rm -f data.db
sqlite3 data.db < ./src/server/db/schema.sql
fi