TODO
- create dockerfile
- create config for deploy
- create initial schema from database
- run sql specs in this repo
- create makefile to simplify to run migrations and specs
create role postgraphql login password '3x4mpl3';
create role anonymous;
create role common_user;
create role admin;
diesel migration --database-url="postgres://postgres@localhost:5432/db" generate migration_name
diesel migration --database-url="postgres://postgres@localhost:5432/db "run
diesel migration --database-url="postgres://postgres@localhost:5432/db" redo
docker run --net=host -e DATABASE_URL="postgres://postgres@localhost:5432/db" -it nossas/bonde-migrations diesel migration run
./run_sql_test.sh