Skip to content

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

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

feat: migrate to BanManager's versioned migration system#35
confuser merged 2 commits into
masterfrom
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
confuser added a commit that referenced this pull request Apr 18, 2026
Pin all me.confuser.banmanager:* dependencies and the Sponge plugin
metadata version constraint to BanManager 7.11.0 (the first stable v7
release that includes the versioned migration runner #1060 that
WebEnhancer #35 depends on).

Drops the -SNAPSHOT suffix on this branch so the v7.11.0 tag captures
a reproducible artefact set.
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