huseyinfiliz
I wanted to provide an update regarding issue reported earlier. I have successfully resolved the problem and managed to enable the Stickiest (v1.0.1) extension by manually adjusting the database schema.
​The Problem:
There is a naming inconsistency in the migration scripts between "is_tag_sticky" and is_tagSticky.
My database originally only had "is_tagSticky" but the migration 2022_07_21_000000 was looking for is_tag_sticky to create an index, causing the "Key column doesn't exist" error.
Previous failed attempts also caused "Duplicate key name" errors.
​How I fix it via phpMyAdmin:
​Drop conflicting indices go to your flarum_discussions table -> Structure -> Indexes.
Drop these two if they exist:
("Duplicate key name" errors)
1.flarum_discussions_is_tagsticky_last_posted_at_index
2.flarum_discussions_is_tagsticky_created_at_index
​Add Missing Column:
Add a new column to the flarum_discussions table
Name: is_tag_sticky
Type: TINYINT
Length: 1
Attributes: UNSIGNED
Default: As defined: 0
Null:
​php flarum migrate
php flarum cache:clear
​After these steps, the extension should enable without any failing issues, I am sharing this in case any user faces the same issue while enabling extensions. I tested this on a non-production flarum and the extension is now working perfectly fine.