DbClient class that can be initialized with DB-params, connected to testDB in testfile and to realDB by default
helper scripts and makefile to start up the test_db containers & migrate hasura db to it
FLOW
make down
make setup_test_db
yarn test:ci
HELPNEEDED:
somehow I can't get the hasura migration to wait until the docker compose is done... I tried lots of different makefile configurations and/or bashscripts...
@djudjuu This PR should fix issues in this PR. Check it out.
Also lets use the SQL enum type instead of the hasura default way to get enums. Its simpler and extendible to other postgres stuff for the future.
what
FLOW
HELPNEEDED:
somehow I can't get the hasura migration to wait until the docker compose is done... I tried lots of different makefile configurations and/or bashscripts...