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