Skip to content

Tooling for baseline migration on existing database #364

@kostasb

Description

@kostasb

For the purpose of managing an already existing database with pgroll, provide a tool that initiates a baseline migration and enables pgroll on the database.

Tasks

  • Implement a (hidden) pgroll baseline command that creates a new baseline type migration in pgroll.migrations.
  • Ensure that the start , complete, rollback workflow works when the parent migration is a baseline migration.
  • Update pull command to not pull anything before and including the most recent baseline migration.
  • Update the migrate command to not try to apply baseline migrations and not fail on mismatched migrations prior to the most recent baseline version.
  • Implement the improvements to pull and migrate (🕊️ Updates to pull and migrate commands).
  • Test the ability to have multiple baselines in a migration history.
  • Add documentation to pgroll.com/docs
  • Un-hide the pgroll baseline command

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions