|
@@ -714,7 +714,7 @@ CREATE TABLE `requests` (
|
714
|
714
|
`TorrentID` int(10) unsigned NOT NULL DEFAULT '0',
|
715
|
715
|
`TimeFilled` datetime,
|
716
|
716
|
`Visible` binary(1) NOT NULL DEFAULT '1',
|
717
|
|
- `GroupID` int(10) DEFAULT NULL,
|
|
717
|
+ `GroupID` int(10) DEFAULT '0',
|
718
|
718
|
PRIMARY KEY (`ID`),
|
719
|
719
|
KEY `Userid` (`UserID`),
|
720
|
720
|
KEY `Name` (`Title`),
|
|
@@ -1067,7 +1067,7 @@ CREATE TABLE `top_snatchers` (
|
1067
|
1067
|
|
1068
|
1068
|
CREATE TABLE `torrents` (
|
1069
|
1069
|
`ID` int(10) NOT NULL AUTO_INCREMENT,
|
1070
|
|
- `GroupID` int(10) NOT NULL DEFAULT NULL,
|
|
1070
|
+ `GroupID` int(10) NOT NULL DEFAULT '0',
|
1071
|
1071
|
`UserID` int(10) DEFAULT NULL,
|
1072
|
1072
|
`Media` varchar(20) DEFAULT NULL,
|
1073
|
1073
|
`Container` varchar(20) DEFAULT NULL,
|
|
@@ -1079,10 +1079,10 @@ CREATE TABLE `torrents` (
|
1079
|
1079
|
`Censored` tinyint(1) NOT NULL DEFAULT '1',
|
1080
|
1080
|
`Anonymous` tinyint(1) NOT NULL DEFAULT '0',
|
1081
|
1081
|
`info_hash` blob NOT NULL,
|
1082
|
|
- `FileCount` int(6) NOT NULL DEFAULT NULL,
|
|
1082
|
+ `FileCount` int(6) NOT NULL DEFAULT '0',
|
1083
|
1083
|
`FileList` mediumtext,
|
1084
|
1084
|
`FilePath` varchar(255) NOT NULL DEFAULT '',
|
1085
|
|
- `Size` bigint(12) NOT NULL DEFAULT NULL,
|
|
1085
|
+ `Size` bigint(12) NOT NULL DEFAULT '0',
|
1086
|
1086
|
`Leechers` int(6) NOT NULL DEFAULT '0',
|
1087
|
1087
|
`Seeders` int(6) NOT NULL DEFAULT '0',
|
1088
|
1088
|
`last_action` datetime,
|
|
@@ -1738,7 +1738,7 @@ CREATE TABLE `xbt_files_users` (
|
1738
|
1738
|
`downspeed` int(10) unsigned NOT NULL DEFAULT '0',
|
1739
|
1739
|
`corrupt` bigint(20) NOT NULL DEFAULT '0',
|
1740
|
1740
|
`timespent` int(10) unsigned NOT NULL,
|
1741
|
|
- `useragent` varchar(51) NOT NULL DEFAULT NULL,
|
|
1741
|
+ `useragent` varchar(51) NOT NULL DEFAULT '',
|
1742
|
1742
|
`connectable` tinyint(4) NOT NULL DEFAULT '1',
|
1743
|
1743
|
`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',
|
1744
|
1744
|
`fid` int(11) NOT NULL,
|