fix(gaming): Added skill column

Issue #206Signed-off-by: Stuart McCulloch Anderson's avatarStuart McCulloch Anderson <stuart@nxfifteen.me.uk>
parent 003200d0
......@@ -951,7 +951,7 @@ class Upgrade
return false;
}
$this->getDatabase()->query("CREATE TABLE `" . $db_prefix . "blancing` (`bid` int(8) NOT NULL,`class` varchar(255) NOT NULL,`xp` float(6,3) NOT NULL DEFAULT '0.000',`mana` float(6,3) NOT NULL DEFAULT '0.000',`health` float(6,3) NOT NULL DEFAULT '0.000') ENGINE=InnoDB DEFAULT CHARSET=utf8;");
$this->getDatabase()->query("CREATE TABLE `" . $db_prefix . "blancing` (`bid` int(8) NOT NULL,`class` varchar(255) NOT NULL, `skill` VARCHAR(255) NOT NULL,`xp` float(6,3) NOT NULL DEFAULT '0.000',`mana` float(6,3) NOT NULL DEFAULT '0.000',`health` float(6,3) NOT NULL DEFAULT '0.000') ENGINE=InnoDB DEFAULT CHARSET=utf8;");
if ($this->wasMySQLError($this->getDatabase()->error())) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment