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

patch for special sql files #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

patch for special sql files #177

wants to merge 1 commit into from

Conversation

bigxu
Copy link

@bigxu bigxu commented May 14, 2020

patch for special sql files
now, you can speical sql file names which need to apply

sql-migrate 20200512181004-admin_user-init.sql down
sql-migrate down 20200512181004-admin_user-init.sql

now, you can speical sql file names which need to apply

sql-migrate 20200512181004-admin_user-init.sql down
sql-migrate down 20200512181004-admin_user-init.sql
@rubenv
Copy link
Owner

rubenv commented May 15, 2020

I'm not sure this is a good idea. It promotes ad-hoc database tweaking, which is exactly what you should avoid.

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

Successfully merging this pull request may close these issues.

None yet

2 participants