| ... | ... |
@@ -784,7 +784,7 @@ CREATE TABLE IF NOT EXISTS `" . $tableprefix . "fanfiction_modules` ( |
| 784 | 784 |
`date` int(11) NOT NULL default '0', |
| 785 | 785 |
`updated` int(11) NOT NULL default '0', |
| 786 | 786 |
`uid` int(11) NOT NULL default '0', |
| 787 |
- `coauthors` varchar(50) NOT NULL default '0', |
|
| 787 |
+ `coauthors` tinyint(1) NOT NULL default '0', |
|
| 788 | 788 |
`featured` char(1) NOT NULL default '0', |
| 789 | 789 |
`validated` char(1) NOT NULL default '0', |
| 790 | 790 |
`completed` char(1) NOT NULL default '0', |
| ... | ... |
@@ -168,6 +168,9 @@ if ($oldVersion[0] == 3 && ($oldVersion[1] < 5 || $oldVersion[2] < 6)) //3.5.5 |
| 168 | 168 |
dbquery("UPDATE `" . TABLEPREFIX . "fanfiction_news` set time = time_tmp");
|
| 169 | 169 |
dbquery("ALTER TABLE `" . TABLEPREFIX . "fanfiction_news` DROP `time_tmp`");
|
| 170 | 170 |
} |
| 171 |
+ |
|
| 172 |
+ /* todo */ |
|
| 173 |
+ /* ALTER TABLE `e107_fanfiction_stories` CHANGE `coauthors` `coauthors` TINYINT NOT NULL DEFAULT '0'; */ |
|
| 171 | 174 |
} |
| 172 | 175 |
$update = dbquery("UPDATE " . $settingsprefix . "fanfiction_settings SET version = '" . $version . "' WHERE sitekey = '" . SITEKEY . "'");
|
| 173 | 176 |
if ($update) $output .= write_message(_ACTIONSUCCESSFUL); |