navapbc / template-application-flask

Apache License 2.0
7 stars 3 forks source link

Use common prefix for db-migrate commands #189

Closed lorenyu closed 1 year ago

lorenyu commented 1 year ago

Ticket

n/a

Changes

see title

Context

It's a worse developer experience that three of the commands related to database migrations don't follow the same prefix as all the rest, makes it impossible to tab-complete and harder to remember. This change renames db-upgrade, db-downgrade, and db-downgrade-all to db-migrate, db-migrade-down, and db-migrate-down-all.

Testing

ran make db-migrate, make db-migrate-down, and make db-migrate-down-all