modulo condes

This commit is contained in:
cmaffio
2016-05-27 17:20:28 +02:00
parent 691a64e13a
commit 75adb3e6a1
5 changed files with 516 additions and 45 deletions

View File

@@ -25,23 +25,16 @@ CREATE TABLE `condes_regole` (
`permanente` BOOLEAN NOT NULL ,
`data` DATETIME NOT NULL ,
`attivo` BOOLEAN NOT NULL ,
`stato` int(11) DEFAULT 0 ,
`modifica` DATETIME NOT NULL ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB;
CREATE TABLE `condes_stato` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`id_condes_regole` bigint(20) NOT NULL,
`id_proxy_acl_ip` bigint(20) NOT NULL,
`permanente` tinyint(1) NOT NULL,
`data` datetime NOT NULL,
`attivo` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
CREATE TABLE `condes_logs` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`id_utenti` bigint(20) NOT NULL,
`id_condes_regole` bigint(20) NOT NULL,
`stato` int(11) NOT NULL,
`data` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8