Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More direction choices for migration filename #9

Closed
rafaelespinoza opened this issue Dec 17, 2021 · 2 comments
Closed

More direction choices for migration filename #9

rafaelespinoza opened this issue Dec 17, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@rafaelespinoza
Copy link
Owner

It'd be cool if the direction portion of the filename that gets generated from the create-migration subcommand was customizable via flags and/or a config file.

defaults:

forward-20060102150405-alpha.sql
reverse-20060102150405-alpha.sql

alternatives:

migrate-20060102150405-alpha.sql
rollback-20060102150405-alpha.sql

up-20060102150405-alpha.sql
down-20060102150405-alpha.sql
@rafaelespinoza rafaelespinoza added the enhancement New feature or request label Dec 17, 2021
@rafaelespinoza rafaelespinoza self-assigned this Jan 8, 2022
@rafaelespinoza
Copy link
Owner Author

rafaelespinoza commented Jan 8, 2022

This plus some cleanup started in the branch feat-migration_options

@rafaelespinoza
Copy link
Owner Author

Did this in a4ac74b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant