Files
Munawwirul Jamal 87baa898f6 dev: hotfixes
+ moved cmd/simgos-sync* to cmd/snync*
+ adjust Dockerfiles
2025-12-12 10:51:37 +07:00

19 lines
299 B
Makefile

# Makefile for Atlas migrations
# Default environment
ENV ?= gorm
.PHONY: diff apply hash
## Generate a new migration diff
diff:
atlas migrate diff --env $(ENV)
## Apply migrations to the database
apply:
atlas migrate apply --env $(ENV)
## Calculate the schema hash
hash:
atlas migrate hash