Files
simrsx-be/cmd/main-migration/atlas.hcl
T
2025-10-01 11:27:32 +07:00

24 lines
428 B
HCL

data "external_schema" "gorm" {
program = [
"go",
"run",
"-mod=mod",
".",
]
}
env "gorm" {
src = data.external_schema.gorm.url
dev = "postgres://simrs:p@ssw0rd@localhost:5432/simrs-diff-01?sslmode=disable"
migration {
dir = "file://migrations"
}
url = "postgres://simrs:p@ssw0rd@localhost:5432/simrs-01?sslmode=disable"
format {
migrate {
diff = "{{ sql . \" \" }}"
}
}
}