diff options
author | Simon | 2011-03-09 20:49:24 +0100 |
---|---|---|
committer | Simon | 2011-03-09 20:49:24 +0100 |
commit | 5767c4f644a586d5f19e86fdd2de2ad47a21cb1a (patch) | |
tree | 116914ccf6a4bf492b74682c2fea717e4c4f92e1 /pbs.sql | |
parent | style angepasst (diff) | |
download | pbs2-5767c4f644a586d5f19e86fdd2de2ad47a21cb1a.tar.gz pbs2-5767c4f644a586d5f19e86fdd2de2ad47a21cb1a.tar.xz pbs2-5767c4f644a586d5f19e86fdd2de2ad47a21cb1a.zip |
FilterController Evaluate funktioniert
Diffstat (limited to 'pbs.sql')
-rw-r--r-- | pbs.sql | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -204,8 +204,8 @@ CREATE TABLE IF NOT EXISTS `pbs_client` ( CREATE TABLE IF NOT EXISTS `pbs_session` ( `sessionID` int(11) NOT NULL AUTO_INCREMENT, - `clientID` int(11) NOT NULL, - `bootosID` int(11) NOT NULL, + `clientID` int(11), + `bootosID` int(11), `time` varchar(14) NOT NULL, `ip` varchar(15) NOT NULL, `ip6` varchar(45), @@ -303,5 +303,14 @@ ALTER TABLE `pbs_filterentries` ADD CONSTRAINT `pbs_filterentries_ibfk_2` FOREIGN KEY (`filtertypeID`) REFERENCES `pbs_filtertype` (`filtertypeID`) ON DELETE CASCADE; +-- Insert Filtertypes +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'IP'); +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'MAC'); +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'PoolID'); +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'BootIso'); +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'Membership'); +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'Group'); +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'Time'); +INSERT INTO `pbs`.`pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES (NULL, 'Client'); |