Database CREATE TABLE IF NOT EXISTS . (

--HG--
branch : Gsoc14-ryzomAppImprovements
This commit is contained in:
shubham_meena 2014-06-10 12:11:34 +05:30
parent c4ff97cefd
commit 2f023e0bdc

View file

@ -160,12 +160,16 @@
DROP TABLE IF EXISTS `" . $cfg['db']['lib']['name'] ."`.`plugins` ;
CREATE TABLE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."`.`plugins` (
`PluginId` INT(10) NOT NULL AUTO_INCREMENT,
`PluginName` VARCHAR(11) NOT NULL,
`PluginPermission` VARCHAR(5) NOT NULL,
`PluginVersion` INT(11) NOT NULL,
`IsActive` TINYINT(1) NOT NULL,
PRIMARY KEY (`PluginId`) )
`Id` INT(10) NOT NULL AUTO_INCREMENT,
`FileName VARCHAR(255) NOT NULL,
`Name` VARCHAR(11) NOT NULL,
`Type` VARCHAR(12) NOT NULL,
`Owner` VARCHAR(25) NOT NULL,
`Permission` VARCHAR(5) NOT NULL,
`Status` INT(11) NOT NULL DEFAULT 0,
`Weight` INT(11) NOT NULL DEFAULT 0,
`Info` BLOB NULL DEFAULT NULL,
PRIMARY KEY (`Id`) )
ENGINE = InnoDB;