Support separate database for testing.

This commit is contained in:
mikestefanello 2021-12-13 12:51:00 -05:00
parent 4e2f186dad
commit 60dedc0944
5 changed files with 65 additions and 34 deletions

View file

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