set infra

This commit is contained in:
vanilia
2025-11-13 09:57:10 +07:00
parent 94ce6bd5ee
commit ebc2ca5659
24 changed files with 843 additions and 105 deletions

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# 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