migrate db

This commit is contained in:
Jun-te Kim 2025-12-13 21:56:27 +00:00
parent 3c71dac9d0
commit fe776b0d83

View file

@ -2,7 +2,7 @@ env "stripe_invoice_dev" {
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_dev?sslmode=disable"
migration {
dir = "file://./stripe_invoice/migrations"
dir = "file://./db/atlas/stripe_invoice/migrations"
}
}
@ -10,6 +10,6 @@ env "stripe_invoice_prod" {
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_prod?sslmode=disable"
migration {
dir = "file://./stripe_invoice/migrations"
dir = "file://./db/atlas/stripe_invoice/migrations"
}
}