aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fdd13c8..1821068 100644
--- a/Makefile
+++ b/Makefile
@@ -6,3 +6,10 @@ run-container:
run:
@docker compose up -d
+
+migrate:
+ docker exec -it dbasik-db-1 migrate -path=${DBASIK_DB_DSN} -database= up
+
+migrate-down:
+ docker exec -it dbasik-db-1 migrate -path=${DBASIK_DB_DSN} -database= down
+