Feature table is not created properly
Extension of phpLicenseWatcher
Brought to you by:
stefangassner
The install.php does not create the serverId row for the feature table. Took me a while to figure this out. So for new users this makes it so we cannot add features.
if (isset($_GET["updateFeatureTable"])) {
$alter = $db->query("ALTER TABLE feature ADD serverId INT NOT NULL DEFAULT '1' AFTER id");
} else {
$create = $db->query("CREATE TABLE IF NOT EXISTS feature (
id int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(40) NOT NULL,
alias varchar(40) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;");
}
I think Calendar has the same issue but not sure it is as important:
thanks for your information - i fixed both problems and will upload the next version 2.1 within the next days.