migrate db

This commit is contained in:
Jun-te Kim 2025-12-13 21:52:57 +00:00
parent de4ef52377
commit 3c71dac9d0

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 = "./stripe_invoice/migrations"
dir = "file://./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 = "./stripe_invoice/migrations"
dir = "file://./stripe_invoice/migrations"
}
}