diff options
author | Simon | 2011-03-13 00:29:00 +0100 |
---|---|---|
committer | Simon | 2011-03-13 00:29:00 +0100 |
commit | 8618f91b2ba420eea204e70355470af94d3ca2b7 (patch) | |
tree | 1aafe6899935c52e85ae9f8041d9662b0a8185a1 /pbs.sql | |
parent | css repariert (diff) | |
download | pbs2-8618f91b2ba420eea204e70355470af94d3ca2b7.tar.gz pbs2-8618f91b2ba420eea204e70355470af94d3ca2b7.tar.xz pbs2-8618f91b2ba420eea204e70355470af94d3ca2b7.zip |
filtertypen hinzugefügt, Zeit, Datum und Wochentage können in Filtern definiert werden, Formular wird automatisch aktualisiert
Diffstat (limited to 'pbs.sql')
-rw-r--r-- | pbs.sql | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -306,12 +306,16 @@ 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'); +INSERT INTO `pbs_filtertype` (`filtertypeID`, `filtertypename`) VALUES +(1, 'IP'), +(2, 'MAC'), +(3, 'PoolID'), +(4, 'BootIso'), +(5, 'Membership'), +(6, 'Group'), +(7, 'Time'), +(8, 'Client'), +(9, 'Hardwarehash'), +(10, 'Weekday'), +(11, 'Date'); |