Skip to content

Commit

Permalink
[add] hasura make file (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
大浦 翼 committed May 29, 2023
1 parent 6a97c41 commit 415f69e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ db:
docker compose run --rm seeds_api rails db:create
docker compose run --rm seeds_api rails db:migrate
docker compose run --rm seeds_api rails db:seed_fu

db-export:
docker compose up hasura -d
sleep 15
docker compose exec hasura hasura metadata export
docker compose exec hasura hasura migrate create "auto" --from-server --database-name default
docker compose exec hasura hasura migrate status --database-name default
docker compose down

0 comments on commit 415f69e

Please sign in to comment.