diff options
author | Yorhel <git@yorhel.nl> | 2019-12-01 09:22:20 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-12-01 13:40:59 +0100 |
commit | 165b62acc991cbf30cb721af27b04a066dbc9413 (patch) | |
tree | 34cbe7fef4a020fe121ddf1026dd6be13e9498a2 /util/sql/schema.sql | |
parent | b2ba46a9a0900d2b9d62a5ff84c4d4c9d9780abc (diff) |
v2rw: Convert thread display + poll voting
I did not reimplement the 'poll_recast' and 'poll_preview' settings,
these actions are now always permitted.
Updated CSS a little bit to highlight the linked post and fix the double
border at the bottom.
The nice thing about the sql_visible_threads() function I wrote earlier
is that is can also be used for access control on a single thread. More
code re-use. \o/
Diffstat (limited to 'util/sql/schema.sql')
-rw-r--r-- | util/sql/schema.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sql/schema.sql b/util/sql/schema.sql index 19720860..e644ecc3 100644 --- a/util/sql/schema.sql +++ b/util/sql/schema.sql @@ -628,8 +628,8 @@ CREATE TABLE threads ( count smallint NOT NULL DEFAULT 0, poll_question varchar(100), poll_max_options smallint NOT NULL DEFAULT 1, - poll_preview boolean NOT NULL DEFAULT FALSE, - poll_recast boolean NOT NULL DEFAULT FALSE, + poll_preview boolean NOT NULL DEFAULT FALSE, -- deprecated + poll_recast boolean NOT NULL DEFAULT FALSE, -- deprecated private boolean NOT NULL DEFAULT FALSE ); |