Skip to content

feature: implement DevMigrator closes #283#394

Open
g105b wants to merge 6 commits intomasterfrom
283-dev-migration
Open

feature: implement DevMigrator closes #283#394
g105b wants to merge 6 commits intomasterfrom
283-dev-migration

Conversation

@g105b
Copy link
Copy Markdown
Member

@g105b g105b commented Apr 2, 2026

New features:

  • gt migrate --dev runs normal migrations, then applies query/_migration/dev files tracked separately in the _migration_dev table.
  • gt migrate --dev-merge runs normal migrations, then renumbers and moves applied dev migrations into the canonical migration directory and records them as already applied in _migration.

Key changes are in the new DevMigrator, Migrator and ExecuteCommand. I've split out the Migrator class into an abstract base class so both Migrator and DevMigrator can share the functionality.

@g105b g105b linked an issue Apr 2, 2026 that may be closed by this pull request
@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Apr 2, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 25 complexity · 0 duplication

Metric Results
Complexity 25
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

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.

How to handle local development (pre-migration)?

1 participant