Модераторский комментарий/предупреждение в постах. (Вместо модераторского тега) Запросы к существующей БД: ALTER TABLE `bb_posts` ADD `post_mod_comment` TEXT NOT NULL DEFAULT ''; ALTER TABLE `bb_posts` ADD `post_mod_comment_type` TINYINT( 1 ) NOT NULL DEFAULT '0'; ALTER TABLE `bb_posts` ADD `post_mc_mod_id` mediumint(8) NOT NULL; ALTER TABLE `bb_posts` ADD `post_mc_mod_name` varchar(25) NOT NULL DEFAULT ''; git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@458 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
fly.dvorkin 2012-09-25 17:46:21 +00:00
commit b301f3672a
10 changed files with 133 additions and 4 deletions

View file

@ -947,6 +947,10 @@ CREATE TABLE IF NOT EXISTS `bb_posts` (
`post_attachment` tinyint(1) NOT NULL DEFAULT '0',
`post_reported` tinyint(1) NOT NULL DEFAULT '0',
`user_post` tinyint(1) NOT NULL DEFAULT '1',
`post_mod_comment` TEXT NOT NULL DEFAULT '',
`post_mod_comment_type` TINYINT( 1 ) NOT NULL DEFAULT '0',
`post_mc_mod_id` mediumint(8) NOT NULL,
`post_mc_mod_name` varchar(25) NOT NULL DEFAULT '',
PRIMARY KEY (`post_id`),
KEY `topic_id` (`topic_id`),
KEY `poster_id` (`poster_id`),