add instalation entity

This commit is contained in:
vanilia
2025-11-13 10:37:54 +07:00
parent 78f1502930
commit 4b78e489ef
11 changed files with 167 additions and 2 deletions

No files matched your search

@@ -0,0 +1,22 @@
data "external_schema" "gorm" {
program = [
"go",
"run",
"-mod=mod",
".",
]
}
env "gorm" {
src = data.external_schema.gorm.url
dev = "" // dsn db to check the diff
migration {
dir = "file://migrations"
}
url = "" // dsn db to apply
format {
migrate {
diff = "{{ sql . \" \" }}"
}
}
}