From c946380e4a436a724c6b7f47603756b4e80919c9 Mon Sep 17 00:00:00 2001 From: dpurbosakti Date: Thu, 2 Oct 2025 16:05:21 +0700 Subject: [PATCH] stop tracking atlas.hcl files (ignored) --- cmd/main-migration/atlas.hcl | 23 ----------------------- cmd/satusehat-migration/atlas.hcl | 22 ---------------------- 2 files changed, 45 deletions(-) delete mode 100644 cmd/main-migration/atlas.hcl delete mode 100644 cmd/satusehat-migration/atlas.hcl diff --git a/cmd/main-migration/atlas.hcl b/cmd/main-migration/atlas.hcl deleted file mode 100644 index 163119d3..00000000 --- a/cmd/main-migration/atlas.hcl +++ /dev/null @@ -1,23 +0,0 @@ -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 . \" \" }}" - } - } -} - diff --git a/cmd/satusehat-migration/atlas.hcl b/cmd/satusehat-migration/atlas.hcl deleted file mode 100644 index 5efd3e80..00000000 --- a/cmd/satusehat-migration/atlas.hcl +++ /dev/null @@ -1,22 +0,0 @@ -data "external_schema" "gorm" { - program = [ - "go", - "run", - "-mod=mod", - ".", - ] -} - -env "gorm" { - src = data.external_schema.gorm.url - dev = "postgres://moko:password@localhost:5432/satusehat_diff?sslmode=disable" - migration { - dir = "file://migrations" - } - url = "postgres://moko:password@localhost:5432/satusehat_main?sslmode=disable" - format { - migrate { - diff = "{{ sql . \" \" }}" - } - } -} \ No newline at end of file