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