migrate db
This commit is contained in:
parent
cb03b1fd31
commit
de4ef52377
1 changed files with 5 additions and 4 deletions
|
|
@ -1,14 +1,15 @@
|
|||
env "stripe_invoice_dev" {
|
||||
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_dev?sslmode=disable"
|
||||
migration {
|
||||
dir = "file://./stripe_invoice/migrations"
|
||||
|
||||
migration {
|
||||
dir = "./stripe_invoice/migrations"
|
||||
}
|
||||
}
|
||||
|
||||
env "stripe_invoice_prod" {
|
||||
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_prod?sslmode=disable"
|
||||
|
||||
migration {
|
||||
dir = "file://./stripe_invoice/migrations"
|
||||
dir = "./stripe_invoice/migrations"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue