Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor adjustments in sql dump #109

Merged
merged 1 commit into from
Apr 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions install/sql/mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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`),
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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 '',
Expand Down
5 changes: 4 additions & 1 deletion install/upgrade/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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';
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 '';