migrate
migrate copied to clipboard
`graphile-migrate watch --once` is hard to discover
When you run graphile-migrate --help there's no hint that watch --once exists, and the description for watch doesn't seem like what you need.
Suggestions:
- [ ] Update the
watchdescription so it also covers the--onceuse case - [ ] Consider adding a command alias (identical to calling
graphile-migrate watch --once) to raise this to a top-level concern; e.g.graphile-migrate run-currentorgraphile-migrate watch-onceor similar (suggestions welcome, I'm currently leaning towardswatch-once)
Really it's "run all migrations plus the current migration and then exit" Or "watch mode but without the watching..." :wink: -- @Benjie
I was just coming here to see if this'd been suggested yet! I want to graphile-migrate a thing && pg_prove to run pgTAP tests in development.
graphile-migrate current has my vote re shorter names
current or even latest would be my pick