aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-10 20:54:12 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-10 20:54:12 +0100
commit24d51e78c462fdb829b10747eac470fc80e6fdce (patch)
treee225dc9d3bb3c9ae6f8efe0b9fd880cba4146770 /Makefile
parente69391d4f309f6268440632585bbddf3a2a5bd60 (diff)
Adds ability to save a single datamap to the database
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
+