Merge branch 'sql_dump' into develop

This commit is contained in:
PheRum 2014-10-30 14:31:51 +03:00
commit a6fba9e4c5
2 changed files with 533 additions and 556 deletions

File diff suppressed because it is too large Load diff

View file

@ -17,9 +17,9 @@ CREATE TABLE IF NOT EXISTS `bb_bt_tracker` (
`peer_id` varchar(20) NOT NULL, `peer_id` varchar(20) NOT NULL,
`user_id` mediumint(9) NOT NULL DEFAULT '0', `user_id` mediumint(9) NOT NULL DEFAULT '0',
`ip` varchar(15) NOT NULL DEFAULT '0', `ip` varchar(15) NOT NULL DEFAULT '0',
`client` varchar(51) NOT NULL DEFAULT 'Unknown',
`ipv6` varchar(32) DEFAULT NULL, `ipv6` varchar(32) DEFAULT NULL,
`port` smallint(5) unsigned NOT NULL DEFAULT '0', `port` smallint(5) unsigned NOT NULL DEFAULT '0',
`client` varchar(51) NOT NULL DEFAULT 'Unknown',
`seeder` tinyint(1) NOT NULL DEFAULT '0', `seeder` tinyint(1) NOT NULL DEFAULT '0',
`releaser` tinyint(1) NOT NULL DEFAULT '0', `releaser` tinyint(1) NOT NULL DEFAULT '0',
`tor_type` tinyint(1) NOT NULL DEFAULT '0', `tor_type` tinyint(1) NOT NULL DEFAULT '0',
@ -49,6 +49,6 @@ CREATE TABLE IF NOT EXISTS `bb_bt_tracker_snap` (
`leechers` mediumint(8) unsigned NOT NULL DEFAULT '0', `leechers` mediumint(8) unsigned NOT NULL DEFAULT '0',
`speed_up` int(10) unsigned NOT NULL DEFAULT '0', `speed_up` int(10) unsigned NOT NULL DEFAULT '0',
`speed_down` int(10) unsigned NOT NULL DEFAULT '0', `speed_down` int(10) unsigned NOT NULL DEFAULT '0',
`complete` int(11) NOT NULL, `complete` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`topic_id`) PRIMARY KEY (`topic_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;