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

Update db:migrate:up & db:migrate:down to act more like active record one #200

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PikachuEXE
Copy link

@PikachuEXE PikachuEXE commented Nov 13, 2023

I read the description on rake tasks and realize that the actual behaviour is more like sequel one
Which is weird since version is required (no less chance for being more like sequel one to be intended)

From
#96 (comment)

image

I am not sure if this is what you want though let me know

Also no support for STEP yet

Also only tested for timestamp versions (not integer versions)

@PikachuEXE PikachuEXE changed the title * Update db:migrate:up & db:migrate:down to act more like active record one Update db:migrate:up & db:migrate:down to act more like active record one Nov 13, 2023
@PikachuEXE PikachuEXE force-pushed the feature/run-specific-migration-only branch from f4b0193 to e9e8e77 Compare January 3, 2024 01:48
@PikachuEXE
Copy link
Author

Updated test cases to check for running migrations that can only be run with updated rake task

  • Up: Migration with >= 2 versions away from current migration
  • Down: Not current migration version

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.

1 participant