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

New command: rollup/dump #669

Open
kvch opened this issue Feb 10, 2025 · 0 comments
Open

New command: rollup/dump #669

kvch opened this issue Feb 10, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@kvch
Copy link
Contributor

kvch commented Feb 10, 2025

Migration rollup is merging multiple past pgroll migrations into a single migration file. Pgroll dumps the existing schema from your database into a pgroll migration file.

Use cases:

  • Initializing a database schema based on past pgroll migrations
  • Adding pgroll later to your existing database, you want an "initial" migration that can create the same database schema in a test environment
@kvch kvch added the enhancement New feature or request label Feb 10, 2025
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