mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
SQL: Increase speed_up & speed_down type limits (#992)
This commit is contained in:
parent
f4b2676f66
commit
cfd64c8442
2 changed files with 8 additions and 4 deletions
|
@ -368,8 +368,8 @@ CREATE TABLE IF NOT EXISTS `bb_bt_tracker`
|
|||
`uploaded` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`downloaded` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`remain` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`speed_up` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`speed_down` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`speed_up` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`speed_down` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`up_add` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`down_add` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`update_time` INT(11) NOT NULL DEFAULT '0',
|
||||
|
@ -395,8 +395,8 @@ CREATE TABLE IF NOT EXISTS `bb_bt_tracker_snap`
|
|||
`topic_id` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`seeders` 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_down` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`speed_up` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`speed_down` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`completed` INT(10) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`topic_id`)
|
||||
)
|
||||
|
|
|
@ -75,3 +75,7 @@ ALTER TABLE `bb_bt_tracker` CHANGE `complete` `complete` TINYINT(1) NOT NULL DEF
|
|||
INSERT INTO `bb_extensions` VALUES ('1', 'webp', '');
|
||||
INSERT INTO `bb_extensions` VALUES ('2', '7z', '');
|
||||
INSERT INTO `bb_extensions` VALUES ('1', 'bmp', '');
|
||||
ALTER TABLE `bb_bt_tracker` CHANGE `speed_up` `speed_up` INT(11) UNSIGNED NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `bb_bt_tracker` CHANGE `speed_down` `speed_down` INT(11) UNSIGNED NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `bb_bt_tracker_snap` CHANGE `speed_up` `speed_up` INT(11) UNSIGNED NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `bb_bt_tracker_snap` CHANGE `speed_down` `speed_down` INT(11) UNSIGNED NOT NULL DEFAULT '0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue