# 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
