3 ms·
> "but tracking relationships (I think that's what it's called) takes about ten minutes to initialize on a relatively small database" Oof, this is insane. Shou
by gavinray 4y ago
> "but tracking relationships (I think that's what it's called) takes about ten minutes to initialize on a relatively small database"
Oof, this is insane. Should not be the case.
Are you using the Hasura CLI to automatically track any changes made with the web UI to local YAML files? You can use this, along with the ".cli-migrations" variant of the Docker image to automatically apply your metadata/migration as soon as the image starts.
So you'd run "hasura console" in terminal, which would serve the special web UI that mirrors changes to local files, and that'll serve it on http://localhost:9695 http://localhost:9695
Then when you want to start fresh, just docker-compose down/up and it'll handle auto-applying everything for you:
https://hasura.io/docs/latest/graphql/core/migrations/migrations-setup/#migrations-initialize https://hasura.io/docs/latest/graphql/core/migrations/migrat...
https://hasura.io/docs/latest/graphql/core/migrations/advanced/auto-apply-migrations/ https://hasura.io/docs/latest/graphql/core/migrations/advanc...