Use environment env for migration database

This commit is contained in:
paul 2019-07-26 11:21:56 +02:00
parent 79dd2d4bb1
commit 5bdcc7daff

View file

@ -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