Migrate now deletes db...

This commit is contained in:
Imbus 2024-05-04 14:18:00 +02:00
parent 54939ca99b
commit 0b8a771aa5

View file

@ -18,6 +18,7 @@ dbdump:
sqlite3 app/krusty.db .dump sqlite3 app/krusty.db .dump
migrate: migrate:
rm -f app/krusty.db
sqlite3 app/krusty.db < app/Migrations/create-schema.sql sqlite3 app/krusty.db < app/Migrations/create-schema.sql
sqlite3 app/krusty.db < app/Migrations/initial-data.sql sqlite3 app/krusty.db < app/Migrations/initial-data.sql