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

migrate down Specifies the sequence of js files rollback #420

Open
VickyYq opened this issue Oct 28, 2022 · 0 comments
Open

migrate down Specifies the sequence of js files rollback #420

VickyYq opened this issue Oct 28, 2022 · 0 comments

Comments

@VickyYq
Copy link

VickyYq commented Oct 28, 2022

If there are 3 files:

  • 001.js
  • 002.js
  • 003.js
  1. migrate up
    execute 001.js, 003.js
  2. create 002.js and migrate up
  3. changelog table sequence 001->003->002
  4. migrate down
    003 rollback first

q1. Whether to perform the rollback sequence according to the file name instead of the execution time

q2. Whether you want to directly roll back to a version or batch roll back

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

No branches or pull requests

1 participant