Support separate database for testing.
This commit is contained in:
parent
4e2f186dad
commit
60dedc0944
5 changed files with 65 additions and 34 deletions
4
Makefile
4
Makefile
|
|
@ -2,6 +2,10 @@
|
|||
pg:
|
||||
psql postgresql://admin:admin@localhost:5432/app
|
||||
|
||||
.PHONY: pg-test
|
||||
pg-test:
|
||||
psql postgresql://admin:admin@localhost:5432/app_test
|
||||
|
||||
.PHONY: ent-gen
|
||||
ent-gen:
|
||||
go generate ./ent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue