hasura / hasura/graphql-engine
Apply seeds in cli-migrations v3
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Is your proposal related to a problem?
The CLI Migrations docker image currently only applies the migrations and the metadata, the proposal is for it to also apply the `seeds` when the directory is present
### Describe the solution you'd like
- If the `hasura-seeds` directory is mounted to the container, apply the seeds
### If the feature is approved, would you be willing to submit a PR?
Yes, already on it
Contributor guide
Research direction
Start by locating the CLI Migrations v3 container entrypoint and the existing logic that applies migrations and metadata. Trace how a mounted hasura-seeds directory is detected; done means seeds are applied when that directory is present without changing behavior when it is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- cli, database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100