engelsystem/db/install.sql

507 lines
52 KiB
MySQL
Raw Normal View History

2012-12-01 11:59:49 +01:00
-- MySQL dump 10.13 Distrib 5.1.63, for debian-linux-gnu (x86_64)
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Host: localhost Database: 29c3db
-- ------------------------------------------------------
-- Server version 5.1.63-0+squeeze1
2011-12-18 14:19:42 +01:00
2012-12-01 11:59:49 +01:00
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `AngelTypes`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `AngelTypes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `AngelTypes` (
2011-12-26 16:25:39 +01:00
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(25) NOT NULL DEFAULT '',
`restricted` int(1) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `Name` (`name`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `ChangeLog`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `ChangeLog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ChangeLog` (
2011-12-18 14:19:42 +01:00
`Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`UID` int(11) NOT NULL DEFAULT '0',
`Commend` text NOT NULL,
`SQLCommad` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2012-12-01 11:59:49 +01:00
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Counter`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Counter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Counter` (
2011-12-18 14:19:42 +01:00
`URL` varchar(255) NOT NULL DEFAULT '',
`Anz` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`URL`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Counter der Seiten';
2012-12-01 11:59:49 +01:00
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `FAQ`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `FAQ`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `FAQ` (
2011-12-18 14:19:42 +01:00
`FID` bigint(20) NOT NULL AUTO_INCREMENT,
`Frage_de` text NOT NULL,
`Antwort_de` text NOT NULL,
`Frage_en` text NOT NULL,
`Antwort_en` text NOT NULL,
2012-12-01 11:59:49 +01:00
`Sprache` set('de','en') NOT NULL,
`QID` int(11) NOT NULL,
PRIMARY KEY (`FID`),
KEY `Sprache` (`Sprache`)
) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Dumping data for table `FAQ`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
LOCK TABLES `FAQ` WRITE;
/*!40000 ALTER TABLE `FAQ` DISABLE KEYS */;
INSERT INTO `FAQ` VALUES (1,'Komme ich als Engel billiger/kostenlos auf den Congress?','Nein, jeder Engel muss normal Eintritt bezahlen.','Do I get in cheaper / for free to the congress as an angel ?','No, every angel has to pay full price.','',0),(2,'Was bekomme ich f&uuml;r meine Mitarbeit?','Jeder Engel der arbeitet bekommt ein kostenloses T-Shirt nach der Veranstalltung','What can i expect in return for my help?','Every working angel gets a free shirt after the event.','',0),(3,'Wie lange muss ich als Engel arbeiten?','Diese Frage ist schwer zu beantworten. Es h&auml;ngt z.B. davon ab, was man macht (z.B. Workshop-Engel) und wieviele Engel wir zusammen bekommen.','How long do I have to work as an angel ?','This is difficult to answer. It depends on what you decide to do (e.g. workshop angel) and how many people will attend.','',0),(6,'Ich bin erst XX Jahre alt. Kann ich &uuml;berhaupt helfen?','Wir k&ouml;nnen jede helfende Hand gebrauchen. Wenn du alt genug bist, um zum Congress zu kommen, bist du auch alt genug zu helfen.','I\'m only XX years old. Can I help anyway?','We need every help we can get. If your old enough to come to the congress, your old enough to help.','',0),(8,'Wer sind eigentlich die Erzengel?','Erzengel sind dieses Jahr: BugBlue, TabascoEye, Jeedi, Daizy, volty','Who <b>are</b> the Arch-Angels?','The ArchAngels for this year are: BugBlue, TabascoEye, Jeedi, Daizy, volty','',0),(9,'Gibt es dieses Jahr wieder einen IRC-Channel f&uuml;r Engel?','Ja, im IRC-Net existiert #chaos-angel. Einfach mal reinschaun!','Will there be an IRC-channel for angels again?','Yes, in the IRC-net there\'s #chaos-angel. Just have a look!','',0),(10,'Wie gehe ich mit den Besuchern um?','Man soll gegen&uuml;ber den Besuchern immer h&ouml;flich und freundlich sein, auch wenn diese gestresst sind. Wenn man das Gef&uuml;hl hat, dass man mit der Situation nicht mehr klarkommt, sollte man sich jemanden zur Unterst&uuml;tzung holen, bevor man selbst auch gestresst wird :-)','How do I treat visitors?','You should always be polite and friendly, especially if they are stressed. When you feel you can\'t handle it on your own, get someone to help you out before you get so stressed yourself that you get impolite.','',0),(11,'Wann sind die Engelbesprechungen?','Das wird vor Ort noch festgelegt und steht im Himmelnewssystem.','When are the angels briefings?','The information on the Angel Briefings will be in the news section of this system.','',0),(12,'Was muss ich noch bedenken?','Man sollte nicht total &uuml;berm&uuml;det oder ausgehungert, wenn n man einen Einsatz hat. Eine gewisse Fitness ist hilfreich.','Anything else I should know?','You should not be exhausted or starving when you arrive for a shift. A reasonable amount of fitness for work would be very helpful.','',0),(13,'Ich habe eine Frage, auf die ich in der FAQ keine Antwort gefunden habe. Wohin soll ich mich wenden?','Bei weitere Fragen kannst du die Anfragen an die Erzengel Formular benutzen.','I have a guestion not answered here. Who can I ask?','If you have further questions, you can use the Questions for the ArchAngels form.','',0),(20,'Wer muss alles Eintritt zahlen?','Jeder. Zumindest, solange er/sie &auml;lter als 12 Jahre ist...','Who has to pay the full entrance price?','Everyone who is at older than 12 years old.','',0);
/*!40000 ALTER TABLE `FAQ` ENABLE KEYS */;
UNLOCK TABLES;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `GroupPrivileges`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `GroupPrivileges`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `GroupPrivileges` (
2011-12-18 14:19:42 +01:00
`id` int(11) NOT NULL AUTO_INCREMENT,
`group_id` int(11) NOT NULL,
`privilege_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `group_id` (`group_id`,`privilege_id`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM AUTO_INCREMENT=145 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Dumping data for table `GroupPrivileges`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
LOCK TABLES `GroupPrivileges` WRITE;
/*!40000 ALTER TABLE `GroupPrivileges` DISABLE KEYS */;
INSERT INTO `GroupPrivileges` VALUES (107,-2,24),(24,-1,5),(106,-2,8),(105,-2,11),(23,-1,2),(142,-5,16),(141,-5,28),(104,-2,26),(103,-2,9),(86,-6,21),(140,-5,6),(139,-5,12),(102,-2,17),(138,-5,14),(137,-5,13),(136,-5,7),(101,-2,15),(87,-6,18),(100,-2,3),(85,-6,10),(99,-2,4),(88,-1,1),(133,-3,32),(108,-2,20),(109,-4,27),(135,-5,31),(134,-3,25),(143,-5,5),(144,-5,33);
/*!40000 ALTER TABLE `GroupPrivileges` ENABLE KEYS */;
UNLOCK TABLES;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Groups`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Groups` (
2011-12-18 14:19:42 +01:00
`Name` varchar(35) NOT NULL,
`UID` int(11) NOT NULL,
PRIMARY KEY (`UID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2012-12-01 11:59:49 +01:00
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Dumping data for table `Groups`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
LOCK TABLES `Groups` WRITE;
/*!40000 ALTER TABLE `Groups` DISABLE KEYS */;
INSERT INTO `Groups` VALUES ('1-Gast',-1),('2-Engel',-2),('3-Shift Coordinator',-3),('5-Erzengel',-5),('6-Developer',-6),('4-Infodesk',-4);
/*!40000 ALTER TABLE `Groups` ENABLE KEYS */;
UNLOCK TABLES;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Messages`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Messages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Messages` (
2011-12-18 14:19:42 +01:00
`id` int(11) NOT NULL AUTO_INCREMENT,
`Datum` int(11) NOT NULL,
`SUID` int(11) NOT NULL DEFAULT '0',
`RUID` int(11) NOT NULL DEFAULT '0',
`isRead` char(1) NOT NULL DEFAULT 'N',
`Text` text NOT NULL,
PRIMARY KEY (`id`),
KEY `Datum` (`Datum`),
KEY `SUID` (`SUID`),
KEY `RUID` (`RUID`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Fuers interen Communikationssystem';
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `NeededAngelTypes`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `NeededAngelTypes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `NeededAngelTypes` (
2011-12-18 14:19:42 +01:00
`id` int(11) NOT NULL AUTO_INCREMENT,
`room_id` int(11) DEFAULT NULL,
`shift_id` int(11) DEFAULT NULL,
`angel_type_id` int(11) NOT NULL,
`count` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `room_id` (`room_id`,`angel_type_id`),
KEY `shift_id` (`shift_id`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `News`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `News`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `News` (
2011-12-18 14:19:42 +01:00
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Datum` int(11) NOT NULL,
`Betreff` varchar(150) NOT NULL DEFAULT '',
`Text` text NOT NULL,
`UID` int(11) NOT NULL DEFAULT '0',
`Treffen` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`),
2012-12-01 11:59:49 +01:00
KEY `UID` (`UID`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Privileges`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Privileges`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Privileges` (
2011-12-18 14:19:42 +01:00
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL,
`desc` varchar(1024) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Dumping data for table `Privileges`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
LOCK TABLES `Privileges` WRITE;
/*!40000 ALTER TABLE `Privileges` DISABLE KEYS */;
INSERT INTO `Privileges` VALUES (1,'start','Startseite für Gäste/Nicht eingeloggte User'),(2,'login','Logindialog'),(3,'news','Anzeigen der News-Seite'),(4,'logout','User darf sich ausloggen'),(5,'register','Einen neuen Engel registerieren'),(6,'admin_rooms','Räume administrieren'),(7,'admin_angel_types','Engel Typen administrieren'),(8,'user_settings','User profile settings'),(9,'user_messages','Writing and reading messages from user to user'),(10,'admin_groups','Manage usergroups and their rights'),(11,'user_questions','Let users ask questions'),(12,'admin_questions','Answer user\'s questions'),(13,'admin_faq','Edit FAQs'),(14,'admin_news','Administrate the news section'),(15,'news_comments','User can comment news'),(16,'admin_user','Administrate the angels'),(17,'user_meetings','Lists meetings (news)'),(18,'admin_language','Translate the system'),(19,'admin_log','Display recent changes'),(20,'user_wakeup','User wakeup-service organization'),(21,'admin_import','Import rooms and shifts from pentabarf'),(22,'credits','View credits'),(23,'faq','View FAQ'),(24,'user_shifts','Signup for shifts'),(25,'user_shifts_admin','Signup other angels for shifts.'),(26,'user_myshifts','Allow angels to view their own shifts and cancel them.'),(27,'admin_arrive','Mark angels when they arrive.'),(28,'admin_shifts','Create shifts'),(30,'ical','iCal shift export'),(31,'admin_active','Mark angels as active and if they got a t-shirt.'),(32,'admin_free','Show a list of free/unemployed angels.'),(33,'admin_user_angeltypes','Confirm restricted angel types');
/*!40000 ALTER TABLE `Privileges` ENABLE KEYS */;
UNLOCK TABLES;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Questions`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Questions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Questions` (
2011-12-18 14:19:42 +01:00
`QID` bigint(20) NOT NULL AUTO_INCREMENT,
`UID` int(11) NOT NULL DEFAULT '0',
`Question` text NOT NULL,
`AID` int(11) NOT NULL DEFAULT '0',
`Answer` text NOT NULL,
2012-12-01 11:59:49 +01:00
PRIMARY KEY (`QID`),
KEY `UID` (`UID`),
KEY `AID` (`AID`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Fragen und Antworten';
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Room`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Room`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Room` (
2011-12-18 14:19:42 +01:00
`RID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(35) NOT NULL DEFAULT '',
`Man` text,
`FromPentabarf` char(1) NOT NULL DEFAULT 'N',
`show` char(1) NOT NULL DEFAULT 'Y',
`Number` int(11) DEFAULT NULL,
PRIMARY KEY (`RID`),
UNIQUE KEY `Name` (`Name`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `ShiftEntry`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `ShiftEntry`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ShiftEntry` (
2011-12-18 14:19:42 +01:00
`id` int(11) NOT NULL AUTO_INCREMENT,
`SID` int(11) NOT NULL DEFAULT '0',
`TID` int(11) NOT NULL DEFAULT '0',
`UID` int(11) NOT NULL DEFAULT '0',
`Comment` text,
2012-12-01 11:59:49 +01:00
PRIMARY KEY (`id`),
KEY `SID` (`SID`),
KEY `TID` (`TID`),
KEY `UID` (`UID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `ShiftFreeloader`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `ShiftFreeloader`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ShiftFreeloader` (
2011-12-18 14:19:42 +01:00
`ID` int(11) NOT NULL AUTO_INCREMENT,
`Remove_Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`UID` int(11) NOT NULL,
`Length` int(11) NOT NULL,
`Comment` text NOT NULL,
2012-12-01 11:59:49 +01:00
PRIMARY KEY (`ID`),
KEY `UID` (`UID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Shifts`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Shifts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Shifts` (
2011-12-18 14:19:42 +01:00
`SID` int(11) NOT NULL AUTO_INCREMENT,
`start` int(11) NOT NULL,
`end` int(11) NOT NULL,
`RID` int(11) NOT NULL DEFAULT '0',
`name` varchar(1024) DEFAULT NULL,
`URL` text,
`PSID` int(11) DEFAULT NULL,
PRIMARY KEY (`SID`),
2012-12-01 11:59:49 +01:00
UNIQUE KEY `PSID` (`PSID`),
KEY `RID` (`RID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Sprache`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Sprache`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Sprache` (
2011-12-18 14:19:42 +01:00
`TextID` varchar(35) NOT NULL DEFAULT 'makeuser_',
`Sprache` char(2) NOT NULL DEFAULT 'DE',
`Text` text NOT NULL,
2012-12-01 11:59:49 +01:00
UNIQUE KEY `TextID` (`TextID`,`Sprache`)
2011-12-18 14:19:42 +01:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2012-12-01 11:59:49 +01:00
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Dumping data for table `Sprache`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
LOCK TABLES `Sprache` WRITE;
/*!40000 ALTER TABLE `Sprache` DISABLE KEYS */;
INSERT INTO `Sprache` VALUES ('Hallo','DE','Hallo '),('Hallo','EN','Greetings '),('2','DE',',\r\n\r\nIm Engelsystem eingeloggt..\r\nWähle zum Abmelden bitte immer den Abmelden-Button auf der linken Seite.'),('3','DE','Neuen Eintrag erfassen...'),('3','EN','Create new entry...'),('4','EN','Entry saved.\r\n\r\n'),('4','DE','Eintrag wurde gesichert.\n\n'),('2','EN',',\r\n\r\nyou are now logged in.\r\nTo log out please choose the logout-button on the right side.'),('5','DE','Seite: '),('5','EN','Page: '),('6','DE','Neue News erstellen:'),('6','EN','Create new News:'),('7','DE','Betreff:'),('7','EN','Subject:'),('8','EN','Text:'),('8','DE','Text:'),('9','DE','Treffen:'),('9','EN','Meeting:'),('save','DE','Sichern'),('save','EN','save'),('back','DE','zurück '),('back','EN','back '),('top','DE','top'),('top','EN','top '),('13','DE','auf dieser Seite kannst Du deine persönlichen Einstellungen ändern, wie zum Beispiel dein Kennwort, Farbeinstellungen usw.\r\n\r\n'),('13','EN','here you can change your personal settings i.e. password, color settings etc.\r\n\r\n'),('14','DE','Hier kannst du dein Kennwort ändern.. '),('14','EN','Here you can change your password.'),('15','DE','Altes Passwort:'),('15','EN','Old password:'),('16','DE','Neues Passwort:'),('16','EN','New password:'),('17','DE','Passwortbestätigung:'),('17','EN','password confirmation:'),('18','DE','Hier kannst du dir dein Farblayout aussuchen:'),('18','EN','Here you can choose your color settings:'),('19','DE','Farblayout:'),('19','EN','color settings:'),('20','DE','Hier kannst Du dir deine Sprache aussuchen:\r\nHere you can choose your language:'),('20','EN','Here you can choose your language:\r\nHier kannst Du dir deine Sprache aussuchen:'),('21','DE','Sprache:'),('21','EN','Language:'),('22','DE','Hier kannst du dir einen Avatar aussuchen. Dies lässt neben deinem Nick z. B. in den News das Bildchen erscheinen.'),('22','EN','Here you can choose your avatar. It will be displayed next to your Nick. '),('23','DE','Avatar:'),('23','EN','Avatar:'),('24','DE','Keiner'),('24','EN','nobody'),('25','DE','Eingegebene Kennwörter sind nicht gleich -> OK.\r\nCheck ob altes Passwort ok ist:'),('25','EN','The passwords entered don\'t match. -> OK.\r\nCheck if the old password is correct:'),('26','DE','-> OK.\r\n'),('26','EN','-> OK.'),('27','DE','Setzen des neuen Kennwortes...:'),('27','EN','Set your new password...:'),('28','DE','Neues Kennwort wurde gesetzt.'),('28','EN','New password saved.'),('29','DE','Ein Fehler ist aufgetreten.\r\nProbiere es noch einmal.'),('29','EN','An error has occured.\r\nPlease try again.'),('30','DE','-> nicht OK.\r\nBitte nocheinmal probieren.'),('30','EN','-> not OK.\r\nPlease try again.\r\n'),('31','DE','KennwÃrter sind nicht gleich. Bitte wiederholen.'),('31','EN','The passwords don\'t match. Please try again.'),('32','DE','Neues Farblayout wurde gesetzt. Mit der nächsten Seite wird es aktiv.'),('32','EN','New color settings are saved. On the next page it will be active.'),('33','DE','Sprache wurde gesetzt. Mit der nächsten Seite wird es aktiv.'),('33','EN','Language is saved. On the next page it will be active.'),('34','DE','Avatar wurde gesetzt.'),('34','EN','Avatar is saved.'),('35','DE','<b>Neue Anfrage:</b>\r\nIn diesem Formular hast du die Möglichkeit, den Dispatchern eine Frage zu stellen. Wenn diese beantwortet ist, wirst du hier darüber informiert. Sollte die Frage von allgemeinem Interesse sein, wird diese in die FAQ übernommen.'),('35','EN','<b>New Question</b>\r\nWith this form you may sumbit questions to our Dispatcher. Topics of common interest may be added to the FAQ. (Section: answered questions).\r\n'),('36','DE','Stelle hier deine Frage'),('36','EN','Tell us your question'),('37','DE','Deine Anfrage war:'),('37','EN','Your question was:'),('38','DE','Diese liegt nun bei den Dispatchern zur Beantwortung vor.'),('38','EN','It is queued for answering.'),('39','DE','Deine bisherigen Anfragen:'),('39','EN','Your past inquiries:'),('40','DE','Offene Anfragen:'),('40','EN','Open inquiries:'),('
/*!40000 ALTER TABLE `Sprache` ENABLE KEYS */;
UNLOCK TABLES;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `User`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `User`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `User` (
2011-12-18 14:19:42 +01:00
`UID` int(11) NOT NULL AUTO_INCREMENT,
`Nick` varchar(23) NOT NULL DEFAULT '',
`Name` varchar(23) DEFAULT NULL,
`Vorname` varchar(23) DEFAULT NULL,
`Alter` int(4) DEFAULT NULL,
`Telefon` varchar(40) DEFAULT NULL,
`DECT` varchar(5) DEFAULT NULL,
`Handy` varchar(40) DEFAULT NULL,
`email` varchar(123) DEFAULT NULL,
`ICQ` varchar(30) DEFAULT NULL,
`jabber` varchar(200) DEFAULT NULL,
`Size` varchar(4) DEFAULT NULL,
`Passwort` varchar(40) DEFAULT NULL,
`Gekommen` tinyint(4) NOT NULL DEFAULT '0',
`Aktiv` tinyint(4) NOT NULL DEFAULT '0',
`Tshirt` tinyint(4) DEFAULT '0',
`color` tinyint(4) DEFAULT '10',
`Sprache` char(2) DEFAULT 'EN',
`Avatar` int(11) DEFAULT '0',
`Menu` char(1) NOT NULL DEFAULT 'L',
`lastLogIn` int(11) NOT NULL,
`CreateDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`Art` varchar(30) DEFAULT NULL,
`kommentar` text,
`Hometown` varchar(255) NOT NULL DEFAULT '',
`ical_key` varchar(32) NOT NULL,
PRIMARY KEY (`UID`,`Nick`),
UNIQUE KEY `Nick` (`Nick`),
KEY `ical_key` (`ical_key`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Dumping data for table `User`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
LOCK TABLES `User` WRITE;
/*!40000 ALTER TABLE `User` DISABLE KEYS */;
INSERT INTO `User` VALUES (1,'admin','Gates','Bill',42,'','','','','','','','0bc8695665259ec7a0b35e4a1c79b335',1,1,0,10,'DE',115,'L',1352156399,'0000-00-00 00:00:00','','','','1b02f4586319e75000b3919380624ab5');
/*!40000 ALTER TABLE `User` ENABLE KEYS */;
UNLOCK TABLES;
2011-12-18 14:19:42 +01:00
2012-12-01 11:59:49 +01:00
--
-- Table structure for table `UserAngelTypes`
--
DROP TABLE IF EXISTS `UserAngelTypes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `UserAngelTypes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`angeltype_id` int(11) NOT NULL,
`confirm_user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`,`angeltype_id`,`confirm_user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `UserGroups`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `UserGroups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `UserGroups` (
2011-12-18 14:19:42 +01:00
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`group_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`,`group_id`)
2012-12-01 11:59:49 +01:00
) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Dumping data for table `UserGroups`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
LOCK TABLES `UserGroups` WRITE;
/*!40000 ALTER TABLE `UserGroups` DISABLE KEYS */;
INSERT INTO `UserGroups` VALUES (1,1,-2),(2,1,-3),(3,1,-6),(4,1,-5),(12,1,-4),(15,2,-2),(16,2,-3),(17,2,-4),(18,2,-5),(19,2,-6),(21,3,-2),(22,3,-5);
/*!40000 ALTER TABLE `UserGroups` ENABLE KEYS */;
UNLOCK TABLES;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `UserPicture`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `UserPicture`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `UserPicture` (
2011-12-18 14:19:42 +01:00
`UID` int(11) NOT NULL DEFAULT '0',
`Bild` longblob NOT NULL,
`ContentType` varchar(20) NOT NULL DEFAULT '',
`show` char(1) NOT NULL DEFAULT 'N',
PRIMARY KEY (`UID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
2012-12-01 11:59:49 +01:00
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `Wecken`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `Wecken`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Wecken` (
2011-12-18 14:19:42 +01:00
`ID` int(11) NOT NULL AUTO_INCREMENT,
`UID` int(11) NOT NULL DEFAULT '0',
`Date` int(11) NOT NULL,
`Ort` text NOT NULL,
`Bemerkung` text NOT NULL,
2012-12-01 11:59:49 +01:00
PRIMARY KEY (`ID`),
KEY `UID` (`UID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
-- Table structure for table `news_comments`
2011-12-18 14:19:42 +01:00
--
2012-12-01 11:59:49 +01:00
DROP TABLE IF EXISTS `news_comments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `news_comments` (
`ID` bigint(11) NOT NULL AUTO_INCREMENT,
`Refid` int(11) NOT NULL DEFAULT '0',
`Datum` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`Text` text NOT NULL,
`UID` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`),
KEY `Refid` (`Refid`),
KEY `UID` (`UID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-06 0:22:39