Makefile target for manual migration to help with debugging
This commit is contained in:
parent
0b9c183a2d
commit
c27f07d06d
1 changed files with 8 additions and 1 deletions
9
makefile
9
makefile
|
@ -10,4 +10,11 @@ clean:
|
||||||
test:
|
test:
|
||||||
./gradlew 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
|
||||||
|
|
Loading…
Reference in a new issue