Add migrations path to config
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
My use case: I always run `tern --migrations ./migrations ...` so the config is in the root of the project and migrations are in `./migrations`.
So I would like to omit `--migrations ./migrations` when calling commands. What if we can have it in the config?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how tern loads its config and how the --migrations option is handled. Add support for specifying the migrations directory in the config, while preserving the command-line option, and verify that commands use the configured path when the option is omitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100