Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
915 B

CREATE TABLE IF NOT EXISTS `lmConfig` (
`cfgNum` INT(11) NOT NULL,
`FIELD` VARCHAR(255) NOT NULL DEFAULT '',
`VALUE` LONGTEXT,
PRIMARY KEY (`cfgNum`,`FIELD`)
);
CREATE TABLE IF NOT EXISTS `sessions` (
`id` VARCHAR(64) NOT NULL PRIMARY KEY,
`a_session` TEXT,
`_whatToTrace` TEXT,
`_session_kind` TEXT,
`_utime` BIGINT,
`ipAddr` TEXT
);
CREATE INDEX IF NOT EXISTS `uid1` ON `sessions` (`_whatToTrace`(128)) USING BTREE;
CREATE INDEX IF NOT EXISTS `s1` ON `sessions` (`_session_kind`(32));
CREATE INDEX IF NOT EXISTS `u1` ON `sessions` (`_utime`);
CREATE INDEX IF NOT EXISTS `ip1` ON `sessions` (`ipAddr`(39)) USING BTREE;
CREATE TABLE IF NOT EXISTS `notifications` (
`date` datetime NOT NULL,
`uid` VARCHAR(255) NOT NULL,
`ref` VARCHAR(255) NOT NULL,
`cond` VARCHAR(255) DEFAULT NULL,
`xml` longblob NOT NULL,
`done` datetime DEFAULT NULL,
PRIMARY KEY (`date`, `uid`, `ref`)
);