Skip to content

fix(db): allow access migrations on MariaDB - #8

Merged
bwmp merged 1 commit into
mainfrom
fix/mariadb-access-migration
Oct 5, 2026
Merged

bwmp merged 1 commit into
mainfrom
fix/mariadb-access-migration

Conversation

@bwmp

@bwmp bwmp commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Hearth crashes during its access-permission migration on MariaDB because the audit insert uses MySQL's CAST(? AS JSON). Coolify rolls back the deployment, leaving the previous panel running.

Summary

Insert the already serialized JSON directly. Verify the persisted audit metadata and idempotent reruns in the existing migration fixture, and run that fixture against MariaDB 10.11 in CI alongside the existing MySQL coverage.

Notes

Reproduced the original SQL failure on MariaDB 10.11. The fixed fixture passes on MariaDB 10.11 and MySQL 8.4. Related migration tests, formatting, lint, syntax checks, and actionlint pass; Hearth loads in the development Preview.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@bwmp
bwmp merged commit 9bdf778 into main Oct 5, 2026
12 checks passed
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