mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 09:36:15 +00:00
Database CREATE TABLE IF NOT EXISTS . (
This commit is contained in:
parent
a8d783d0ed
commit
6511b6192b
1 changed files with 10 additions and 6 deletions
|
@ -160,12 +160,16 @@
|
||||||
DROP TABLE IF EXISTS `" . $cfg['db']['lib']['name'] ."`.`plugins` ;
|
DROP TABLE IF EXISTS `" . $cfg['db']['lib']['name'] ."`.`plugins` ;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."`.`plugins` (
|
CREATE TABLE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."`.`plugins` (
|
||||||
`PluginId` INT(10) NOT NULL AUTO_INCREMENT,
|
`Id` INT(10) NOT NULL AUTO_INCREMENT,
|
||||||
`PluginName` VARCHAR(11) NOT NULL,
|
`FileName VARCHAR(255) NOT NULL,
|
||||||
`PluginPermission` VARCHAR(5) NOT NULL,
|
`Name` VARCHAR(11) NOT NULL,
|
||||||
`PluginVersion` INT(11) NOT NULL,
|
`Type` VARCHAR(12) NOT NULL,
|
||||||
`IsActive` TINYINT(1) NOT NULL,
|
`Owner` VARCHAR(25) NOT NULL,
|
||||||
PRIMARY KEY (`PluginId`) )
|
`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;
|
ENGINE = InnoDB;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue