stackbuilder-db

Local dev

  1. Start the cluster
$ docker-compose up -d
$ hasura console
  1. run migrations and seeds
$ hasura migrate apply
$ hasura seed apply
# reapply metadata to clear inconsistent
$ hasura metadata apply

apply to prod

This has to be done manually :)

$ hasura migrate apply --envfile production.env
$ hasura metadata apply --envfile production.env