mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-18 05:11:41 +00:00
fixed installer
This commit is contained in:
parent
be9704a768
commit
7f71d9c2e3
2 changed files with 28 additions and 1 deletions
|
@ -122,4 +122,4 @@ $INGAME_LAYOUT = "basic";
|
|||
$FORCE_INGAME = false;
|
||||
|
||||
//file storage path (must be a publicly accessible url for
|
||||
$FILE_STORAGE_PATH = "/files/";
|
||||
$FILE_STORAGE_PATH = $PUBLIC_PHP_PATH."\\ams\\files\\";
|
|
@ -304,6 +304,33 @@ CREATE TABLE IF NOT EXISTS `updates` (
|
|||
`UpdateInfo` text CHARACTER SET utf8 COLLATE utf8_unicode_ci
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `nel_ams_lib`.`ticket_attachments`
|
||||
-- -----------------------------------------------------
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `nel_ams_lib`.`ticket_attachments` (
|
||||
`idticket_attachments` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`ticket_TId` INT(10) UNSIGNED NOT NULL,
|
||||
`Filename` VARCHAR(45) NOT NULL,
|
||||
`Timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`Filesize` INT(10) NOT NULL,
|
||||
`Uploader` INT(10) UNSIGNED NOT NULL,
|
||||
PRIMARY KEY (`idticket_attachments`),
|
||||
UNIQUE INDEX `idticket_attachments_UNIQUE` (`idticket_attachments` ASC),
|
||||
INDEX `fk_ticket_attachments_ticket1_idx` (`ticket_TId` ASC),
|
||||
INDEX `fk_ticket_attachments_ticket_user1_idx` (`Uploader` ASC),
|
||||
CONSTRAINT `fk_ticket_attachments_ticket1`
|
||||
FOREIGN KEY (`ticket_TId`)
|
||||
REFERENCES `nel_ams_lib`.`ticket` (`TId`)
|
||||
ON DELETE NO ACTION
|
||||
ON UPDATE NO ACTION,
|
||||
CONSTRAINT `fk_ticket_attachments_ticket_user1`
|
||||
FOREIGN KEY (`Uploader`)
|
||||
REFERENCES `nel_ams_lib`.`ticket_user` (`TUserId`)
|
||||
ON DELETE NO ACTION
|
||||
ON UPDATE NO ACTION)
|
||||
ENGINE = InnoDB;
|
||||
|
||||
--
|
||||
-- Indexes for dumped tables
|
||||
--
|
||||
|
|
Loading…
Reference in a new issue