Skip to content

feat: migrate to BanManager's versioned migration system#35

Merged
confuser merged 2 commits intomasterfrom
feature/migration-runner
Apr 4, 2026
Merged

feat: migrate to BanManager's versioned migration system#35
confuser merged 2 commits intomasterfrom
feature/migration-runner

Conversation

@confuser
Copy link
Copy Markdown
Member

@confuser confuser commented Apr 4, 2026

Move inline ALTER TABLE/CREATE INDEX/UPDATE blocks from LogStorage and PlayerPinStorage constructors into db/webenhancer/V1__baseline.sql.

Wire MigrationRunner into WebEnhancerPlugin.enable() before setupStorage() using scope "webenhancer" and the addon's own ClassLoader for resource loading.

confuser added 2 commits April 4, 2026 12:48
Move inline ALTER TABLE/CREATE INDEX/UPDATE blocks from LogStorage
and PlayerPinStorage constructors into db/webenhancer/V1__baseline.sql.

Wire MigrationRunner into WebEnhancerPlugin.enable() before
setupStorage() using scope "webenhancer" and the addon's own
ClassLoader for resource loading.
@confuser confuser force-pushed the feature/migration-runner branch from 28fe52f to c4ba38b Compare April 4, 2026 11:48
@confuser confuser merged commit 8b1497e into master Apr 4, 2026
23 of 24 checks passed
@confuser confuser deleted the feature/migration-runner branch April 4, 2026 13:45
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