114 lines
6.5 KiB
MySQL
114 lines
6.5 KiB
MySQL
|
-- phpMyAdmin SQL Dump
|
||
|
-- version 3.2.4
|
||
|
-- http://www.phpmyadmin.net
|
||
|
--
|
||
|
-- Host: localhost
|
||
|
-- Erstellungszeit: 01. Juni 2011 um 13:24
|
||
|
-- Server Version: 5.1.44
|
||
|
-- PHP-Version: 5.3.1
|
||
|
|
||
|
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
||
|
|
||
|
--
|
||
|
-- Datenbank: `engelsystem`
|
||
|
--
|
||
|
|
||
|
-- --------------------------------------------------------
|
||
|
|
||
|
--
|
||
|
-- Tabellenstruktur für Tabelle `UserCVS`
|
||
|
--
|
||
|
|
||
|
CREATE TABLE IF NOT EXISTS `UserCVS` (
|
||
|
`UID` int(11) NOT NULL DEFAULT '0',
|
||
|
`GroupID` int(11) DEFAULT '-2',
|
||
|
`index.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`logout.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`faq.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`lageplan.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`makeuser.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`nonpublic/index.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`nonpublic/news.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`nonpublic/newsAddMeting` char(1) NOT NULL DEFAULT 'G',
|
||
|
`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',
|
||
|
`nonpublic/wecken.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`nonpublic/waeckliste.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`nonpublic/messages.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`nonpublic/faq.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`nonpublic/einstellungen.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`Change T_Shirt Size` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/index.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/room.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/EngelType.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/schichtplan.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/shiftadd.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/schichtplan_druck.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/user.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/userChangeNormal.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`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/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',
|
||
|
`admin/userArrived.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/aktiv.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/tshirt.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/news.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/faq.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/free.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/sprache.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/dect.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/dect_call.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/dbUpdateFromXLS.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/Recentchanges.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`admin/debug.php` char(1) NOT NULL DEFAULT 'G',
|
||
|
`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',
|
||
|
`credits.php` char(1) NOT NULL,
|
||
|
PRIMARY KEY (`UID`)
|
||
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||
|
|
||
|
--
|
||
|
-- 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`, `credits.php`) 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', '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', 'Y'),
|
||
|
(-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', 'Y'),
|
||
|
(-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', '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', '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', 'Y'),
|
||
|
|
||
|
-- --------------------------------------------------------
|
||
|
|
||
|
--
|
||
|
-- Tabellenstruktur für Tabelle `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);
|