mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 02:27:34 -07:00
Show the last seeder's username in topics (#1051)
This commit is contained in:
parent
bf0c681ca4
commit
d7ce42f6be
5 changed files with 17 additions and 11 deletions
|
@ -291,6 +291,7 @@ CREATE TABLE IF NOT EXISTS `bb_bt_torrents`
|
|||
`tor_type` TINYINT(1) NOT NULL DEFAULT '0',
|
||||
`speed_up` INT(11) NOT NULL DEFAULT '0',
|
||||
`speed_down` INT(11) NOT NULL DEFAULT '0',
|
||||
`last_seeder_id` INT(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`topic_id`),
|
||||
UNIQUE KEY `post_id` (`post_id`),
|
||||
UNIQUE KEY `topic_id` (`topic_id`),
|
||||
|
@ -1456,6 +1457,7 @@ CREATE TABLE IF NOT EXISTS `buf_last_seeder`
|
|||
(
|
||||
`topic_id` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`seeder_last_seen` INT(11) NOT NULL DEFAULT '0',
|
||||
`user_id` INT(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`topic_id`)
|
||||
)
|
||||
ENGINE = MyISAM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue