feat(db): Add support for stickies in database

Adds a 'sticky' column to threads and rewrites the thread index to
take sticky markings into account when ordering threads.

Stickies are not yet highlighted in any way in the forum overview.
This commit is contained in:
Vincent Ambo 2018-04-14 17:47:31 +02:00
parent c136d34e79
commit d1c45159b9
7 changed files with 36 additions and 21 deletions

View file

@ -0,0 +1,2 @@
DROP VIEW thread_index;
ALTER TABLE threads DROP COLUMN sticky;