mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 00:18:43 +00:00
updates database
--HG-- branch : Gsoc14-ryzomAppImprovements
This commit is contained in:
parent
1ef330b076
commit
d59b6cc642
1 changed files with 20 additions and 0 deletions
|
@ -172,6 +172,26 @@
|
||||||
PRIMARY KEY (`Id`) )
|
PRIMARY KEY (`Id`) )
|
||||||
ENGINE = InnoDB;
|
ENGINE = InnoDB;
|
||||||
|
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
-- Table `" . $cfg['db']['lib']['name'] ."`.`updates`
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
DROP TABLE IF EXISTS `" . $cfg['db']['lib']['name'] ."`.`updates` ;
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."`.`updates` (
|
||||||
|
`s.no` int(10) NOT NULL AUTO_INCREMENT,
|
||||||
|
`PluginId` int(10) DEFAULT NULL,
|
||||||
|
`UpdatePath` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||||
|
`UpdateInfo` text COLLATE utf8_unicode_ci,
|
||||||
|
PRIMARY KEY (`s.no`),
|
||||||
|
KEY `PluginId` (`PluginId`))
|
||||||
|
ENGINE=InnoDB;
|
||||||
|
|
||||||
|
-- -----------------------------------------
|
||||||
|
-- Constraints for table `updates`
|
||||||
|
-- -----------------------------------------
|
||||||
|
ALTER TABLE `" . $cfg['db']['lib']['name'] ."`.`updates`
|
||||||
|
ADD CONSTRAINT `updates_ibfk_1` FOREIGN KEY (`PluginId`) REFERENCES `plugins` (`Id`);
|
||||||
|
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `" . $cfg['db']['lib']['name'] ."`.`ticket`
|
-- Table `" . $cfg['db']['lib']['name'] ."`.`ticket`
|
||||||
|
|
Loading…
Reference in a new issue