feat: kysely and base schema
This commit is contained in:
Executable
+7
@@ -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
|
||||
Reference in New Issue
Block a user