From 2e6deee575197fca7bb651b5dc617e9dbbc17b5a Mon Sep 17 00:00:00 2001 From: Angelo Cuccato Date: Tue, 2 Feb 2010 22:36:51 +0100 Subject: update database --- DB/UserCVS.sql | 54 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 16 deletions(-) (limited to 'DB/UserCVS.sql') diff --git a/DB/UserCVS.sql b/DB/UserCVS.sql index 11377aff..53b202f8 100644 --- a/DB/UserCVS.sql +++ b/DB/UserCVS.sql @@ -1,19 +1,7 @@ --- phpMyAdmin SQL Dump --- version 2.9.1.1-Debian-4 --- http://www.phpmyadmin.net --- --- Host: localhost --- Erstellungszeit: 09. Oktober 2007 um 21:53 --- Server Version: 5.0.32 --- PHP-Version: 5.2.0-8+etch7 --- --- Datenbank: `Himmel` --- - -- -------------------------------------------------------- -- --- Tabellenstruktur f?r Tabelle `UserCVS` +-- Tabellenstruktur für Tabelle `UserCVS` -- DROP TABLE IF EXISTS `UserCVS`; CREATE TABLE `UserCVS` ( @@ -30,6 +18,7 @@ CREATE TABLE `UserCVS` ( `nonpublic/news_comments.php` char(1) NOT NULL default 'G', `nonpublic/myschichtplan.php` char(1) NOT NULL default 'G', `nonpublic/myschichtplan_ical.php` char(1) NOT NULL default 'G', + `nonpublic/schichtplan_beamer.php` char(1) NOT NULL default 'G', `nonpublic/engelbesprechung.php` char(1) NOT NULL default 'G', `nonpublic/schichtplan.php` char(1) NOT NULL default 'G', `nonpublic/schichtplan_add.php` char(1) NOT NULL default 'G', @@ -50,8 +39,6 @@ CREATE TABLE `UserCVS` ( `admin/userSaveNormal.php` char(1) NOT NULL default 'G', `admin/userChangeSecure.php` char(1) NOT NULL default 'G', `admin/userSaveSecure.php` char(1) NOT NULL default 'G', - `admin/userSaveNormal.php` char(1) NOT NULL default 'G', - `admin/userSaveSecure.php` char(1) NOT NULL default 'G', `admin/group.php` char(1) NOT NULL default 'G', `admin/userDefaultSetting.php` char(1) NOT NULL default 'G', `admin/UserPicture.php` char(1) NOT NULL default 'G', @@ -70,10 +57,45 @@ CREATE TABLE `UserCVS` ( `Herald` char(1) NOT NULL default 'G', `Info` char(1) NOT NULL default 'G', `Conference` char(1) NOT NULL default 'G', + `Kasse` char(1) NOT NULL default 'G', PRIMARY KEY (`UID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- --- Daten f?r Tabelle `UserCVS` +-- Daten für Tabelle `UserCVS` -- +INSERT INTO `UserCVS` (`UID`, `GroupID`, `index.php`, `logout.php`, `faq.php`, `lageplan.php`, `makeuser.php`, `nonpublic/index.php`, `nonpublic/news.php`, `nonpublic/newsAddMeting`, `nonpublic/news_comments.php`, `nonpublic/myschichtplan.php`, `nonpublic/myschichtplan_ical.php`, `nonpublic/schichtplan_beamer.php`, `nonpublic/engelbesprechung.php`, `nonpublic/schichtplan.php`, `nonpublic/schichtplan_add.php`, `nonpublic/wecken.php`, `nonpublic/waeckliste.php`, `nonpublic/messages.php`, `nonpublic/faq.php`, `nonpublic/einstellungen.php`, `Change T_Shirt Size`, `admin/index.php`, `admin/room.php`, `admin/EngelType.php`, `admin/schichtplan.php`, `admin/shiftadd.php`, `admin/schichtplan_druck.php`, `admin/user.php`, `admin/userChangeNormal.php`, `admin/userSaveNormal.php`, `admin/userChangeSecure.php`, `admin/userSaveSecure.php`, `admin/group.php`, `admin/userDefaultSetting.php`, `admin/UserPicture.php`, `admin/userArrived.php`, `admin/aktiv.php`, `admin/tshirt.php`, `admin/news.php`, `admin/faq.php`, `admin/free.php`, `admin/sprache.php`, `admin/dect.php`, `admin/dect_call.php`, `admin/dbUpdateFromXLS.php`, `admin/Recentchanges.php`, `admin/debug.php`, `Herald`, `Info`, `Conference`, `Kasse`) VALUES +(1, -4, 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G'), +(-1, NULL, 'Y', 'N', 'Y', 'N', 'Y', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N'), +(-2, NULL, 'N', 'Y', 'Y', 'N', 'N', 'Y', 'Y', 'N', 'Y', 'Y', 'Y', 'N', 'Y', 'Y', 'Y', 'N', 'N', 'Y', 'Y', 'Y', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N'), +(-3, NULL, 'N', 'Y', 'Y', 'N', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'N', 'N', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'N', 'N', 'N', 'N', 'Y', 'Y', 'N', 'N', 'Y', 'Y', 'Y', 'N', 'N', 'N', 'N', 'Y', 'N', 'Y', 'Y', 'Y', 'Y'), +(-4, NULL, 'N', 'Y', 'Y', 'N', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'N', 'Y', 'Y', 'Y', 'N', 'N', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'N', 'N', 'N', 'Y', 'Y', 'N', 'Y', 'Y', 'Y', 'Y'), +(-5, NULL, 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y'); + +-- -------------------------------------------------------- +-- -------------------------------------------------------- +-- -------------------------------------------------------- + +-- +-- Tabellenstruktur für Tabelle `UserGroups` +-- + +DROP TABLE IF EXISTS `UserGroups`; +CREATE TABLE IF NOT EXISTS `UserGroups` ( + `Name` varchar(35) NOT NULL, + `UID` int(11) NOT NULL, + PRIMARY KEY (`UID`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +-- +-- Daten für Tabelle `UserGroups` +-- + +INSERT INTO `UserGroups` (`Name`, `UID`) VALUES +('1-logout User', -1), +('2-Engel', -2), +('3-Shift Coordinator', -3), +('4-Erzengel', -4), +('5-Developer', -5); + -- cgit v1.2.3-54-g00ecf