Correct configuration and SQL dump for anonposting feature

This commit is contained in:
Celestora 2021-11-15 22:00:48 +02:00
parent 0a7bc786b5
commit 4d63ad4681
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,5 @@
ALTER TABLE `posts` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `pinned`; 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 `videos` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `unlisted`;
ALTER TABLE `photos` ADD `anonymous` BOOLEAN NOT NULL DEFAULT FALSE AFTER `hash`; 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`;

View file

@ -35,8 +35,8 @@ openvk:
strict: false strict: false
wall: wall:
anonymousPosting: anonymousPosting:
enable: true enable: false
account: 2 account: 100
postSizes: postSizes:
maxSize: 60000 maxSize: 60000
processingLimit: 3000 processingLimit: 3000