Minor adjustments in sql dump (#109)

This commit is contained in:
Roman Kelesidis 2023-04-01 14:13:07 +07:00 committed by GitHub
parent a1859acc13
commit 87288a58a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -724,8 +724,8 @@ CREATE TABLE IF NOT EXISTS `bb_groups` (
`group_type` tinyint(4) NOT NULL DEFAULT '1', `group_type` tinyint(4) NOT NULL DEFAULT '1',
`release_group` tinyint(4) NOT NULL DEFAULT '0', `release_group` tinyint(4) NOT NULL DEFAULT '0',
`group_name` varchar(40) NOT NULL DEFAULT '', `group_name` varchar(40) NOT NULL DEFAULT '',
`group_description` text NOT NULL, `group_description` text NOT NULL DEFAULT '',
`group_signature` text NOT NULL, `group_signature` text NOT NULL DEFAULT '',
`group_moderator` mediumint(8) NOT NULL DEFAULT '0', `group_moderator` mediumint(8) NOT NULL DEFAULT '0',
`group_single_user` tinyint(1) NOT NULL DEFAULT '1', `group_single_user` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`group_id`), PRIMARY KEY (`group_id`),
@ -1106,7 +1106,7 @@ CREATE TABLE IF NOT EXISTS `bb_topics` (
-- ---------------------------- -- ----------------------------
-- Records of 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` -- 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_icq` varchar(15) NOT NULL DEFAULT '',
`user_website` varchar(100) NOT NULL DEFAULT '', `user_website` varchar(100) NOT NULL DEFAULT '',
`user_from` 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_occ` varchar(100) NOT NULL DEFAULT '',
`user_interests` varchar(255) NOT NULL DEFAULT '', `user_interests` varchar(255) NOT NULL DEFAULT '',
`user_actkey` varchar(32) NOT NULL DEFAULT '', `user_actkey` varchar(32) NOT NULL DEFAULT '',

View File

@ -56,3 +56,6 @@ INSERT INTO `bb_cron` VALUES ('', '1', 'Accrual seedbonus', 'tr_seed_bonus.php',
// 2.1.5 (LTS 2023.03) // 2.1.5 (LTS 2023.03)
UPDATE `bb_config` SET `config_value` = 'http://whatismyipaddress.com/ip/' WHERE `config_name` = 'whois_info'; 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 '';