mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 04:01:35 +00:00
DB changes for the Ocelot release
This commit is contained in:
parent
80092b4fb9
commit
4b19c58200
22
gazelle.sql
22
gazelle.sql
@ -1790,23 +1790,23 @@ CREATE TABLE `xbt_client_whitelist` (
|
||||
|
||||
CREATE TABLE `xbt_files_users` (
|
||||
`uid` int(11) NOT NULL,
|
||||
`active` tinyint(1) NOT NULL,
|
||||
`announced` int(11) NOT NULL,
|
||||
`active` tinyint(1) NOT NULL DEFAULT '1',
|
||||
`announced` int(11) NOT NULL DEFAULT '0',
|
||||
`completed` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`downloaded` bigint(20) NOT NULL,
|
||||
`remaining` bigint(20) NOT NULL,
|
||||
`uploaded` bigint(20) NOT NULL,
|
||||
`upspeed` int(10) unsigned NOT NULL,
|
||||
`downspeed` int(10) unsigned NOT NULL,
|
||||
`downloaded` bigint(20) NOT NULL DEFAULT '0',
|
||||
`remaining` bigint(20) NOT NULL DEFAULT '0',
|
||||
`uploaded` bigint(20) NOT NULL DEFAULT '0',
|
||||
`upspeed` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`downspeed` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`corrupt` bigint(20) NOT NULL DEFAULT '0',
|
||||
`timespent` int(10) unsigned NOT NULL,
|
||||
`useragent` varchar(51) NOT NULL,
|
||||
`timespent` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`useragent` varchar(51) NOT NULL DEFAULT '',
|
||||
`connectable` tinyint(4) NOT NULL DEFAULT '1',
|
||||
`peer_id` binary(20) NOT NULL DEFAULT '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0',
|
||||
`fid` int(11) NOT NULL,
|
||||
`mtime` int(11) NOT NULL,
|
||||
`mtime` int(11) NOT NULL DEFAULT '0',
|
||||
`ip` varchar(15) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`peer_id`,`fid`),
|
||||
PRIMARY KEY (`peer_id`,`fid`,`uid`),
|
||||
KEY `remaining_idx` (`remaining`),
|
||||
KEY `fid_idx` (`fid`),
|
||||
KEY `mtime_idx` (`mtime`),
|
||||
|
Loading…
Reference in New Issue
Block a user