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

feat: cmd helpers for migration down/up/status #825

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

aeneasr
Copy link
Member

@aeneasr aeneasr commented Nov 26, 2024

See https://github.com/ory-corp/cloud/issues/7350

This migrator is compatible with PrepareMigrations which is something we still use for very old Ory Hydra versions. The goal is to use this migrator in all projects.

I had to remove --version abc,def again because the pop migration box is only able to roll forward or roll backwards, but not able to pick specific versions to roll back. That would need to be done manually then.

Checklist

  • I have read the contributing guidelines and signed the CLA.
  • I have referenced an issue containing the design document if my change introduces a new feature.
  • I have read the security policy.
  • I confirm that this pull request does not address a security vulnerability.
    If this pull request addresses a security vulnerability,
    I confirm that I got approval (please contact security@ory.sh) from the maintainers to push the changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added the necessary documentation within the code base (if appropriate).

@aeneasr aeneasr self-assigned this Nov 26, 2024
@aeneasr aeneasr merged commit c82ec0f into master Nov 26, 2024
8 checks passed
@aeneasr aeneasr deleted the add-migration-statements branch November 26, 2024 14:41
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