🚀 Stickiest 1.0.2 — Tag Sticky Index Fix & CI/CD
Targets Flarum 1.x
Release URL: huseyinfiliz/stickiestreleases/tag/v1.0.2
- Fix
PDOException 1072 (Key column 'is_tag_sticky' doesn't exist) on fresh installs
- Fix
PDOException 1061 (Duplicate key name) after Purge & Re-enable
- Add integration test infrastructure with regression tests for both migration bugs
- Add GitHub Actions CI/CD (backend + frontend workflows)
Full Changelog: huseyinfiliz/stickiestv1.0.1 → v1.0.2
What changed?
Heavenly Several reported that enabling the extension on a fresh Flarum installation threw one of two errors:
SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'is_tag_sticky' doesn't exist in table
SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'flarum_discussions_is_tagsticky_last_posted_at_index'
The root cause was a migration ordering bug: 2022_07_21_000000 was attempting to add an index on the is_tag_sticky column before that column was created (which happens in 2022_07_21_000002). Additionally, a naming inconsistency between is_tagSticky (camelCase, used in early migrations) and is_tag_sticky (snake_case, used in later ones) caused duplicate or missing indexes depending on the installation state.
This release adds a new fix migration that handles all affected states idempotently:
- Drops leftover camelCase indexes (
is_tagSticky) if present
- Adds the
is_tag_sticky column if missing
- Adds correct snake_case indexes if missing
Affected migration: 2026_03_24_000000_fix_tag_sticky_indices_consistency.php
This release also introduces an integration test suite using flarum/testing with regression tests that will catch this class of migration bug automatically going forward, and GitHub Actions CI running on PHP 8.1/8.2/8.3 against both MySQL and MariaDB.
How to update
composer update huseyinfiliz/stickiest
php flarum migrate
php flarum cache:clear
Or use Extension Manager to update.
🔧 Github
📦 Packagist
If you run into any issues, feel free to reply here or send me a message.