Use environment env for migration database
This commit is contained in:
parent
79dd2d4bb1
commit
5bdcc7daff
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
package database
|
||||
|
||||
//go:generate sh -c "rm -f *.xo.go"
|
||||
//go:generate xo postgres://paul:password@localhost/paul?sslmode=disable --escape-all --template-path templates/ --package database -o .
|
||||
//go:generate xo $DATABASE_DSN --escape-all --template-path templates/ --package database -o .
|
||||
//go:generate sh -c "rm -f schemamigration.xo.go"
|
||||
//go:generate
|
||||
|
||||
|
|
Loading…
Reference in a new issue