diff --git a/db/atlas/atlas.hcl b/db/atlas/atlas.hcl index 27a427e..e901514 100644 --- a/db/atlas/atlas.hcl +++ b/db/atlas/atlas.hcl @@ -1,13 +1,14 @@ env "stripe_invoice_dev" { url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_dev?sslmode=disable" migration { - dir = "file://atlas/stripe_invoice/migrations" + dir = "file://./stripe_invoice/migrations" + } } env "stripe_invoice_prod" { url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_prod?sslmode=disable" migration { - dir = "file://atlas/stripe_invoice/migrations" + dir = "file://./stripe_invoice/migrations" } } \ No newline at end of file