summaryrefslogtreecommitdiffstats
path: root/setup/poolctrl_data.sql
diff options
context:
space:
mode:
authorSebastian Wagner2011-06-29 22:45:27 +0200
committerSebastian Wagner2011-06-29 22:45:27 +0200
commitbba95dd2bd9d39a7ba04949b351f93cff3a0f29f (patch)
tree28b82b7035ab63f6a60ee0bace73f67b29b419e7 /setup/poolctrl_data.sql
parentminor (diff)
downloadpoolctrl-bba95dd2bd9d39a7ba04949b351f93cff3a0f29f.tar.gz
poolctrl-bba95dd2bd9d39a7ba04949b351f93cff3a0f29f.tar.xz
poolctrl-bba95dd2bd9d39a7ba04949b351f93cff3a0f29f.zip
databasechanges
Diffstat (limited to 'setup/poolctrl_data.sql')
-rw-r--r--setup/poolctrl_data.sql22
1 files changed, 18 insertions, 4 deletions
diff --git a/setup/poolctrl_data.sql b/setup/poolctrl_data.sql
index a4339eb..34f2b88 100644
--- a/setup/poolctrl_data.sql
+++ b/setup/poolctrl_data.sql
@@ -99,6 +99,20 @@ INSERT INTO `pbs_poolentries` (`poolentriesID`, `poolID`, `clientID`) VALUES
(9, 4, 9),
(10, 4, 10);
+-- Adding Bootmenus
+INSERT INTO `pbs_bootmenu` (`bootmenuID`, `membershipID`, `groupID`, `title`, `created`,`defaultbootmenu`) VALUES
+(1, NULL, 1, 'Bootmenu 1', '1299694422', '0'),
+(2, NULL, 1, 'Bootmenu 2', '1299694433', '0'),
+(3, NULL, 1, 'Bootmenu 3', '1299694441', '0'),
+(4, NULL, 1, 'Bootmenu 4', '1299694454', '1'),
+(5, NULL, 1, 'Bootmenu 5', '1299694461', '0');
+
+-- Adding Filter
+INSERT INTO `pbs_filter` (`filterID`, `membershipID`, `groupID`, `bootmenuID`, `title`, `description`, `created`, `priority`) VALUES
+(1, NULL, 1, 1, 'Filter 1', 'Innerhalb der Uni', '1300022113', 1),
+(2, NULL, 1, 2, 'Filter 2', 'Ausserhalb der Uni', '1302000113', 1),
+(3, NULL, 1, 3, 'Filter 3', 'Montags-Freitag \r\nvon 8 bis 16 Uhr \r\nInnerhalb der Uni', '1302022113', 10);
+
-- Adding eventcategories
INSERT INTO `poolctrl_eventcategory` (`eventcategoryID`, `title`) VALUES
(1, 'Lecture'),
@@ -107,10 +121,10 @@ INSERT INTO `poolctrl_eventcategory` (`eventcategoryID`, `title`) VALUES
(4, 'Public');
-- Adding events
-INSERT INTO `poolctrl_event` (`eventID`, `title`, `start`, `end`, `category`, `pbs_poolID`, `pbs_membershipID`, `pbs_bootosID`, `note`) VALUES
-(1, 'Systeme I', '2011-06-24 12:10:00', '2011-06-24 14:00:00', '1', 1, 1, 1, 'Systeme I Vorlesung'),
-(2, 'Systeme II', '2011-06-24 14:10:00', '2011-06-24 16:00:00', '1', 1, 1, 1, 'Systeme II Vorlesung'),
-(3, 'Systeme III', '2011-06-24 16:10:00', '2011-06-24 18:00:00', '1', 1, 1, 1, 'Systeme III Vorlesung');
+INSERT INTO `poolctrl_event` (`eventID`, `title`, `start`, `end`, `category`, `pbs_poolID`, `pbs_membershipID`, `pbs_bootosID`, `note`, `pbs_bootmenuID`, `pbs_filterID`) VALUES
+(1, 'Systeme I', '2011-06-24 12:10:00', '2011-06-24 14:00:00', '1', 1, 1, 1, 'Systeme I Vorlesung', 1, 1),
+(2, 'Systeme II', '2011-06-24 14:10:00', '2011-06-24 16:00:00', '1', 1, 1, 1, 'Systeme II Vorlesung', 1, 1),
+(3, 'Systeme III', '2011-06-24 16:10:00', '2011-06-24 18:00:00', '1', 1, 1, 1, 'Systeme III Vorlesung', 1, 1);
-- Adding eventreport
INSERT INTO `poolctrl_eventreport` (`reportID`, `report`, `eventID`) VALUES