diff --git a/install/sql/mysql.sql b/install/sql/mysql.sql index c3e91101..3b4d0a25 100644 --- a/install/sql/mysql.sql +++ b/install/sql/mysql.sql @@ -724,8 +724,8 @@ CREATE TABLE IF NOT EXISTS `bb_groups` ( `group_type` tinyint(4) NOT NULL DEFAULT '1', `release_group` tinyint(4) NOT NULL DEFAULT '0', `group_name` varchar(40) NOT NULL DEFAULT '', - `group_description` text NOT NULL, - `group_signature` text NOT NULL, + `group_description` text NOT NULL DEFAULT '', + `group_signature` text NOT NULL DEFAULT '', `group_moderator` mediumint(8) NOT NULL DEFAULT '0', `group_single_user` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`group_id`), @@ -1106,7 +1106,7 @@ CREATE TABLE IF NOT EXISTS `bb_topics` ( -- ---------------------------- -- Records of bb_topics -- ---------------------------- -INSERT INTO `bb_topics` VALUES ('1', '1', 'Добро пожаловать в TorrentPier II', '2', UNIX_TIMESTAMP(), '2', '0', '0', '0', '0', '1', '1', '0', '0', '0', '1414658247', '0'); +INSERT INTO `bb_topics` VALUES ('1', '1', 'Добро пожаловать в TorrentPier II', '2', UNIX_TIMESTAMP(), '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', UNIX_TIMESTAMP(), '0'); -- ---------------------------- -- Table structure for `bb_topics_watch` @@ -1179,7 +1179,7 @@ CREATE TABLE IF NOT EXISTS `bb_users` ( `user_icq` varchar(15) NOT NULL DEFAULT '', `user_website` varchar(100) NOT NULL DEFAULT '', `user_from` varchar(100) NOT NULL DEFAULT '', - `user_sig` text NOT NULL, + `user_sig` text NOT NULL DEFAULT '', `user_occ` varchar(100) NOT NULL DEFAULT '', `user_interests` varchar(255) NOT NULL DEFAULT '', `user_actkey` varchar(32) NOT NULL DEFAULT '', diff --git a/install/upgrade/changes.txt b/install/upgrade/changes.txt index 2c93b31a..1b6b0390 100644 --- a/install/upgrade/changes.txt +++ b/install/upgrade/changes.txt @@ -55,4 +55,7 @@ DELETE FROM `bb_cron` WHERE `cron_script` = 'captcha_gen_gc.php'; INSERT INTO `bb_cron` VALUES ('', '1', 'Accrual seedbonus', 'tr_seed_bonus.php', 'interval', '', '', '25', '', '', '00:15:00', '0', '', '0', '0', '0'); // 2.1.5 (LTS 2023.03) -UPDATE `bb_config` SET `config_value` = 'http://whatismyipaddress.com/ip/' WHERE `config_name` = 'whois_info'; \ No newline at end of file +UPDATE `bb_config` SET `config_value` = 'http://whatismyipaddress.com/ip/' WHERE `config_name` = 'whois_info'; +ALTER TABLE `bb_users` CHANGE `user_sig` `user_sig` TEXT NOT NULL DEFAULT ''; +ALTER TABLE `bb_groups` CHANGE `group_signature` `group_signature` TEXT NOT NULL DEFAULT ''; +ALTER TABLE `bb_groups` CHANGE `group_description` `group_description` TEXT NOT NULL DEFAULT ''; \ No newline at end of file