
11-21-2015, 07:45 PM
|
 |
|
|
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Mr_Devlin
The db-changes wil not happen, tables will not being created, check your SQL-syntax, seems to be outdated
PHP Code:
$db->hide_errors();
$db->query("ALTER TABLE `" . TABLE_PREFIX . "usergroup` ADD `adventpermissions` INT(10) UNSIGNED NOT NULL DEFAULT '0'");
$db->query("DROP TABLE IF EXISTS `" . TABLE_PREFIX . "adventcalendar_days`;"); $db->query("CREATE TABLE `" . TABLE_PREFIX . "adventcalendar_days` ( `adventcalendar_daysid` int(11) NOT NULL auto_increment, `active` smallint(1) NOT NULL default '0', `image` text NOT NULL, `data` text NOT NULL, `bitfield` int(4) NOT NULL default '0', `pwidth` int(4) NOT NULL default '0', `pheight` int(4) NOT NULL default '0', PRIMARY KEY (`adventcalendar_daysid`) ) TYPE=MyISAM;");
Any help about this issue?
|
Just tried this now and had the same issue mate
|