diff --git a/db/atlas/atlas.hcl b/db/atlas/atlas.hcl index bbe2d09..0cfc5a6 100644 --- a/db/atlas/atlas.hcl +++ b/db/atlas/atlas.hcl @@ -1,6 +1,5 @@ env "stripe_invoice_dev" { - url = "postgres://"+env("POSTGRES_USER")+":"+env("POSTGRES_PASSWORD")+ - "@postgres.default.svc.cluster.local:5432/stripe_invoice?sslmode=disable" + url = "postgres://${env("POSTGRES_USER")}:${env("POSTGRES_PASSWORD")}@postgres.default.svc.cluster.local:5432/stripe_invoice?sslmode=disable" migration { dir = "file://./db/atlas/stripe_invoice/migrations" @@ -8,8 +7,7 @@ env "stripe_invoice_dev" { } env "stripe_invoice_prod" { - url = "postgres://"+env("POSTGRES_USER")+":"+env("POSTGRES_PASSWORD")+ - "@postgres.default.svc.cluster.local:5432/stripe_invoice_prod?sslmode=disable" + url = "postgres://${env("POSTGRES_USER")}:${env("POSTGRES_PASSWORD")}@postgres.default.svc.cluster.local:5432/stripe_invoice_prod?sslmode=disable" migration { dir = "file://./db/atlas/stripe_invoice/migrations"