fixed installer

This commit is contained in:
botanic 2014-09-04 20:29:45 -07:00
parent 2311731fae
commit bb7c5f147b
2 changed files with 28 additions and 1 deletions

View file

@ -122,4 +122,4 @@ $INGAME_LAYOUT = "basic";
$FORCE_INGAME = false; $FORCE_INGAME = false;
//file storage path (must be a publicly accessible url for //file storage path (must be a publicly accessible url for
$FILE_STORAGE_PATH = "/files/"; $FILE_STORAGE_PATH = $PUBLIC_PHP_PATH."\\ams\\files\\";

View file

@ -304,6 +304,33 @@ CREATE TABLE IF NOT EXISTS `updates` (
`UpdateInfo` text CHARACTER SET utf8 COLLATE utf8_unicode_ci `UpdateInfo` text CHARACTER SET utf8 COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) 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 -- Indexes for dumped tables
-- --