Makefile target for manual migration to help with debugging

This commit is contained in:
Imbus 2024-05-03 08:16:54 +02:00
parent 0b9c183a2d
commit c27f07d06d

View file

@ -10,4 +10,11 @@ clean:
test:
./gradlew test
.PHONY: run clean test build
dbdump:
sqlite3 app/krusty.db .dump
migrate:
sqlite3 app/krusty.db < app/Migrations/create-schema.sql
sqlite3 app/krusty.db < app/Migrations/initial-data.sql
.PHONY: run clean test build