From 4d63ad4681836ac2d8c15207d970f13001babbe0 Mon Sep 17 00:00:00 2001 From: Celestora Date: Mon, 15 Nov 2021 22:00:48 +0200 Subject: [PATCH] Correct configuration and SQL dump for anonposting feature --- install/sqls/00011-anonymous-posting.sql | 4 +++- openvk-example.yml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/install/sqls/00011-anonymous-posting.sql b/install/sqls/00011-anonymous-posting.sql index e8416c12..bb654704 100644 --- a/install/sqls/00011-anonymous-posting.sql +++ b/install/sqls/00011-anonymous-posting.sql @@ -1,3 +1,5 @@ ALTER TABLE `posts` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `pinned`; ALTER TABLE `videos` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `unlisted`; -ALTER TABLE `photos` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `hash`; \ No newline at end of file +ALTER TABLE `photos` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `hash`; +ALTER TABLE `comments` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `ad`; +ALTER TABLE `notes` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `cached_content`; diff --git a/openvk-example.yml b/openvk-example.yml index 029a0563..f2552319 100644 --- a/openvk-example.yml +++ b/openvk-example.yml @@ -35,8 +35,8 @@ openvk: strict: false wall: anonymousPosting: - enable: true - account: 2 + enable: false + account: 100 postSizes: maxSize: 60000 processingLimit: 3000