From cb03b1fd3121906174fff67d9b2a99508f973c34 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Sat, 13 Dec 2025 21:48:27 +0000 Subject: [PATCH] migrate db --- db/atlas/atlas.hcl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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