Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 46 | Revision 76 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
74 lars 1
-- MySQL dump 10.10
2
--
3
-- Host: localhost    Database: wm2006
4
-- ------------------------------------------------------
5
-- Server version	5.0.22-standard-log
3 lars 6
 
74 lars 7
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10
/*!40101 SET NAMES utf8 */;
11
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12
/*!40103 SET TIME_ZONE='+00:00' */;
13
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
16
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17
 
3 lars 18
SET FOREIGN_KEY_CHECKS=0;
19
 
74 lars 20
--
21
-- Table structure for table `auth_user`
22
--
3 lars 23
 
18 lars 24
DROP TABLE IF EXISTS `auth_user`;
74 lars 25
CREATE TABLE `auth_user` (
18 lars 26
  `u_id` int(11) NOT NULL auto_increment,
74 lars 27
  `u_name` varchar(255) collate latin1_general_ci NOT NULL,
28
  `u_email` varchar(255) collate latin1_general_ci NOT NULL,
29
  `u_password` varchar(50) collate latin1_general_ci NOT NULL,
30
  `u_key` varchar(32) collate latin1_general_ci default NULL,
31
  `u_active` tinyint(1) unsigned default NULL,
32
  `u_type` tinyint(1) unsigned NOT NULL default '0',
33
  `u_lang` char(2) collate latin1_general_ci NOT NULL,
18 lars 34
  PRIMARY KEY  (`u_id`),
35
  UNIQUE KEY `u_name` (`u_name`),
36
  UNIQUE KEY `u_email` (`u_email`)
74 lars 37
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
18 lars 38
 
74 lars 39
--
40
-- Dumping data for table `auth_user`
41
--
46 lars 42
 
43
 
74 lars 44
/*!40000 ALTER TABLE `auth_user` DISABLE KEYS */;
45
LOCK TABLES `auth_user` WRITE;
46
INSERT INTO `auth_user` VALUES (1,'LTiefland','ltiefland@gmail.com','77eeef4a06967c4bfcb83391a690aa13','',1,1,'de'),(2,'test','ltiefland@lycos.de','68eacb97d86f0c4621fa2b0e17cabd8c','',1,1,'en');
47
UNLOCK TABLES;
48
/*!40000 ALTER TABLE `auth_user` ENABLE KEYS */;
18 lars 49
 
74 lars 50
--
51
-- Table structure for table `challenge`
52
--
18 lars 53
 
54
DROP TABLE IF EXISTS `challenge`;
74 lars 55
CREATE TABLE `challenge` (
18 lars 56
  `id` int(10) unsigned NOT NULL auto_increment,
57
  `challenge_id` varchar(255) collate latin1_general_ci NOT NULL,
58
  `u_id` int(11) NOT NULL,
59
  PRIMARY KEY  (`id`),
60
  UNIQUE KEY `challenge_id` (`challenge_id`,`u_id`),
74 lars 61
  KEY `u_id` (`u_id`),
62
  CONSTRAINT `challenge_ibfk_1` FOREIGN KEY (`u_id`) REFERENCES `auth_user` (`u_id`) ON DELETE CASCADE ON UPDATE CASCADE
63
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
18 lars 64
 
74 lars 65
--
66
-- Dumping data for table `challenge`
67
--
46 lars 68
 
69
 
74 lars 70
/*!40000 ALTER TABLE `challenge` DISABLE KEYS */;
71
LOCK TABLES `challenge` WRITE;
72
UNLOCK TABLES;
73
/*!40000 ALTER TABLE `challenge` ENABLE KEYS */;
18 lars 74
 
74 lars 75
--
76
-- Table structure for table `config`
77
--
18 lars 78
 
79
DROP TABLE IF EXISTS `config`;
74 lars 80
CREATE TABLE `config` (
18 lars 81
  `config_name` varchar(255) collate latin1_general_ci NOT NULL,
82
  `config_value` varchar(255) collate latin1_general_ci NOT NULL,
83
  PRIMARY KEY  (`config_name`)
84
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
85
 
74 lars 86
--
87
-- Dumping data for table `config`
88
--
46 lars 89
 
90
 
74 lars 91
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
92
LOCK TABLES `config` WRITE;
93
INSERT INTO `config` VALUES ('cookie_name','cookie_wm'),('groups','8'),('host','Germany'),('logo','WC06_Logo.png'),('max_anz','16'),('session_length','7200'),('teams_per_group','4'),('type','WC'),('version','0.6.0'),('year','2006');
94
UNLOCK TABLES;
95
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
18 lars 96
 
74 lars 97
--
98
-- Table structure for table `games`
99
--
3 lars 100
 
101
DROP TABLE IF EXISTS `games`;
74 lars 102
CREATE TABLE `games` (
3 lars 103
  `g_id` int(10) unsigned NOT NULL auto_increment,
104
  `g_name` varchar(255) collate latin1_general_ci default NULL,
105
  `g_m1` int(10) unsigned NOT NULL,
106
  `g_m2` int(10) unsigned NOT NULL,
107
  `g_g1` int(10) unsigned NOT NULL,
108
  `g_g2` int(10) unsigned NOT NULL,
109
  `g_location` int(10) unsigned NOT NULL,
110
  `g_date` int(11) NOT NULL default '0',
18 lars 111
  `g_type` int(10) unsigned NOT NULL,
3 lars 112
  PRIMARY KEY  (`g_id`),
113
  KEY `g_location` (`g_location`),
114
  KEY `g_m1` (`g_m1`,`g_m2`),
18 lars 115
  KEY `g_m2` (`g_m2`),
74 lars 116
  KEY `g_type` (`g_type`),
117
  CONSTRAINT `games_ibfk_16` FOREIGN KEY (`g_m1`) REFERENCES `teams` (`t_id`) ON UPDATE CASCADE,
118
  CONSTRAINT `games_ibfk_17` FOREIGN KEY (`g_m2`) REFERENCES `teams` (`t_id`) ON UPDATE CASCADE,
119
  CONSTRAINT `games_ibfk_18` FOREIGN KEY (`g_location`) REFERENCES `locations` (`l_id`) ON UPDATE CASCADE
120
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
3 lars 121
 
74 lars 122
--
123
-- Dumping data for table `games`
124
--
46 lars 125
 
126
 
74 lars 127
/*!40000 ALTER TABLE `games` DISABLE KEYS */;
128
LOCK TABLES `games` WRITE;
129
INSERT INTO `games` VALUES (1,'Spiel 1',1,2,4,2,10,1149868800,1),(2,'Spiel 2',3,4,0,2,2,1149879600,1),(3,'Spiel 3',5,6,1,0,4,1149944400,1),(4,'Spiel 4',7,8,0,0,1,1149955200,1),(5,'Spiel 5',9,10,2,1,5,1149966000,1),(6,'Spiel 6',11,12,0,1,9,1150030800,1),(7,'Spiel 7',13,14,3,1,11,1150041600,1),(8,'Spiel 8',15,16,0,1,8,1150052400,1),(9,'Spiel 12',23,24,3,1,7,1150117200,1),(10,'Spie 10',19,20,0,3,2,1150128000,1),(11,'Spiel 9',17,18,2,0,6,1150138800,1),(12,'Spiel 14',27,28,2,1,4,1150203600,1),(13,'Spiel 13',25,26,0,0,12,1150214400,1),(14,'Spiel 11',21,22,1,0,3,1150225200,1),(15,'Spiel 15',29,30,4,0,9,1150290000,1),(16,'Spiel 16',31,32,2,2,10,1150300800,1),(17,'Spiel 17',1,3,1,0,1,1150311600,1),(18,'Spiel 18',4,2,3,0,5,1150376400,1),(19,'Spiel 19',5,7,2,0,11,1150387200,1),(20,'Spiel 20',8,6,1,0,3,1150398000,1),(21,'Spiel 21',9,11,6,0,2,1150462800,1),(22,'Spiel 22',12,10,2,1,12,1150473600,1),(23,'Spiel 23',13,15,0,0,6,1150484400,1),(24,'Spiel 24',16,14,2,0,4,1150549200,1),(25,'Spiel 26',20,18,0,2,8,1150560000,1),(26,'Spiel 25',17,19,1,1,7,1150570800,1),(27,'Spiel 28',24,22,0,0,11,1150635600,1),(28,'Spiel 27',21,23,2,0,10,1150646400,1),(29,'Spiel 29',25,27,1,1,9,1150657200,1),(30,'Spiel 30',28,26,0,2,1,1150722000,1),(31,'Spiel 32',32,30,0,4,5,1150732800,1),(32,'Spiel 31',29,31,3,1,12,1150743600,1),(33,'Spiel 33',4,1,0,3,3,1150812000,1),(34,'Spiel 34',2,3,1,2,6,1150812000,1),(35,'Spiel 35',8,5,2,2,8,1150830000,1),(36,'Spiel 36',6,7,2,0,7,1150830000,1),(37,'Spiel 39',16,13,2,1,2,1150898400,1),(38,'Spiel 40',14,15,1,1,9,1150898400,1),(39,'Spiel 37',12,9,0,0,4,1150916400,1),(40,'Spiel 38',10,11,3,2,10,1150916400,1),(41,'Spiel 41',20,17,0,2,5,1150984800,1),(42,'Spiel 42',18,19,2,1,11,1150984800,1),(43,'Spiel 43',24,21,1,4,1,1151002800,1),(44,'Spiel 44',22,23,2,2,12,1151002800,1),(45,'Spiel 47',32,29,0,1,7,1151071200,1),(46,'Spiel 48',30,31,1,0,3,1151071200,1),(47,'Spiel 45',28,25,0,2,8,1151089200,1),(48,'Spiel 46',26,27,2,0,6,1151089200,1),(49,'Achtelfinalspiel 1',1,8,2,0,10,1151161200,2),(50,'Achtelfinalspiel 2',9,13,2,1,9,1151175600,2),(51,'Achtelfinalspiel 3',5,4,1,0,12,1151247600,2),(52,'Achtelfinalspiel 4',16,12,1,0,11,1151262000,2),(53,'Achtelfinaspiel 5',17,23,1,0,7,1151334000,2),(54,'Achtelfinalspiel 6',26,30,0,3,8,1151348400,2),(55,'Achtelfinalspiel 7',21,18,3,0,1,1151420400,2),(56,'Achtelfinalspiel 8',29,25,1,3,6,1151434800,2),(57,'Viertelfinalspiel 1',1,9,5,3,3,1151679600,3),(58,'Viertelfinalspiel 2',17,30,3,0,5,1151694000,3),(59,'Viertelfinalspiel 3',5,16,1,3,2,1151766000,3),(60,'Viertelfinalspiel 4',21,25,0,1,4,1151780400,3),(61,'Halbfinalspiel 1',1,17,0,2,1,1152039600,4),(62,'Halbfinalspiel 2',16,25,0,1,10,1152126000,4),(63,'Spiel um Platz 3',1,16,3,1,12,1152385200,5),(64,'Finale',17,25,6,4,3,1152471600,6);
130
UNLOCK TABLES;
131
/*!40000 ALTER TABLE `games` ENABLE KEYS */;
3 lars 132
 
74 lars 133
--
134
-- Table structure for table `groups`
135
--
3 lars 136
 
137
DROP TABLE IF EXISTS `groups`;
74 lars 138
CREATE TABLE `groups` (
3 lars 139
  `g_id` int(10) unsigned NOT NULL auto_increment,
140
  `g_name` char(1) collate latin1_general_ci default NULL,
141
  PRIMARY KEY  (`g_id`)
74 lars 142
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
3 lars 143
 
74 lars 144
--
145
-- Dumping data for table `groups`
146
--
46 lars 147
 
148
 
74 lars 149
/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
150
LOCK TABLES `groups` WRITE;
151
INSERT INTO `groups` VALUES (1,'A'),(2,'B'),(3,'C'),(4,'D'),(5,'E'),(6,'F'),(7,'G'),(8,'H');
152
UNLOCK TABLES;
153
/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
3 lars 154
 
74 lars 155
--
156
-- Table structure for table `i18n_de`
157
--
3 lars 158
 
74 lars 159
DROP TABLE IF EXISTS `i18n_de`;
160
CREATE TABLE `i18n_de` (
161
  `id` varchar(255) collate latin1_general_ci NOT NULL default '',
162
  `page_id` varchar(255) collate latin1_general_ci NOT NULL default '',
163
  `string` text collate latin1_general_ci,
164
  PRIMARY KEY  (`id`,`page_id`)
165
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
166
 
167
--
168
-- Dumping data for table `i18n_de`
169
--
170
 
171
 
172
/*!40000 ALTER TABLE `i18n_de` DISABLE KEYS */;
173
LOCK TABLES `i18n_de` WRITE;
174
INSERT INTO `i18n_de` VALUES ('actions','common','Aktionen'),('activate','common','Aktivieren'),('alert','common','Alarm'),('an_error_occured','common','Ein Fehler ist aufgetreten!'),('at','common','um'),('can_login_now','common','Er kann sich jetzt einloggen!'),('changed_subject','common','Pa&szlig;wort ge&auml;ndert'),('change_subject','common','Pa&szlig;wort&auml;nderung beantragt'),('critical','common','kritisch'),('date','common','Datum'),('debug','common','Debug'),('delete','common','l&ouml;schen'),('EC1','common','Europameister'),('EC2','common','Vize-Europameister'),('edit','common','&auml;ndern'),('email','common','E-Mail Adresse'),('email_empty','common','Bitte eine E-Mail Adresse eingeben!'),('email_exists','common','Ein User mit der E-Mail Adresse \"<b>%s</b>\" existiert bereits!'),('email_invalid','common','Die E-Mail Adresse ist (syntaktisch) nicht korrekt!'),('emergency','common','Notfall'),('error','common','Fehler'),('flag','common','Flagge'),('fourth','common','Vierter'),('game','common','Spiel'),('games','common','Spiele'),('game_name','common','Spielname'),('go','common','los'),('goal_diff','common','Tordifferenz'),('goal_relation','common','Torverhl&auml;tnis'),('group','common','Gruppe'),('groups','common','Gruppen'),('g_type','common','Spieltyp'),('host','common','Deutschland'),('info','common','Information'),('key','common','Aktivierungsschl&uuml;ssel'),('language','common','Sprache'),('language_empty','common','Bitte eine Sprache ausw&auml;hlen!'),('list_of_games','common','Liste der Spiele'),('list_of_groups','common','Liste der Gruppen'),('list_of_teams','common','Liste der Mannschaften'),('list_of_types','common','Liste der Spieltypen'),('list_of_venues','common','Liste der Austragungsorte'),('logged_in_as','common','angemeldet als'),('login','common','Einloggen'),('logout','common','Ausloggen'),('lost_password','common','Passwort vergessen'),('max_games','common','Maximalanzahl von Spielen'),('message','common','Meldung'),('notice','common','Hinweis'),('not_logged_in','common','nicht angemeldet'),('of','common','von'),('o_clock','common','Uhr'),('page','common','Seite'),('password','common','Pa&szlig;wort'),('password_confirm','common','Pa&szlig;wort best&auml;tigen'),('password_confirm_empty','common','Bitte das Pa&szlig;wort ein zweites mal eingeben!'),('password_diff','common','Die Pa&szlig;w&ouml;rter stimmen nicht &uuml;berein!'),('password_empty','common','Bitte ein Pa&szlig;wort eingeben!'),('please_select','common','Bitte w&auml;hlen!'),('points','common','Punkte'),('prel_table','common','Vorrundentablle'),('priority','common','Priori&auml;t'),('profile','common','Profil'),('property','common','Eigenschaft'),('rank','common','Rang'),('register','common','Registrieren'),('reg_failed','common','Registrierung fehlgeschlagen!'),('reg_info','common','Du erhlst in Krze eine E-Mail mit weiteren Instruktionen / informationen!'),('reg_subject','common','erfolgreiche Registrierung'),('reg_success','common','User <b>\"%s\"</b> wurde erfolgreich registriert.'),('result','common','Ergebnis'),('separated_in','common','ausgeschieden in'),('stadium_name','common','Stadionname'),('table_pos','common','Tabllenplatz'),('tasks','common','Aufgaben'),('team','common','Mannschaft'),('teams','common','Mannschaften'),('third','common','Dritter'),('time','common','Uhrzeit'),('userinfo_incorrect','common','Username und / oder Paßwort stimmen nicht!'),('username','common','Benutzername'),('username_empty','common','Bitte einen Benutzernamen eigeben!'),('user_activated','common','Der User \"<b>%s</b>\" wurde erfolgreich aktiviert!'),('user_activation','common','Benutzeraktivierung'),('user_exists','common','Ein User mit dem Namen \"<b>%s</b>\" existiert bereits!'),('value','common','Wert'),('venue','common','Austragungsort'),('venues','common','Austragungsorte'),('view_log','common','Log ansehen'),('warning','common','Warnung'),('WC','common','WM'),('WC1','common','Weltmeister'),('WC2','common','Vize-Weltmeister');
175
UNLOCK TABLES;
176
/*!40000 ALTER TABLE `i18n_de` ENABLE KEYS */;
177
 
178
--
179
-- Table structure for table `i18n_en`
180
--
181
 
182
DROP TABLE IF EXISTS `i18n_en`;
183
CREATE TABLE `i18n_en` (
184
  `id` varchar(255) collate latin1_general_ci NOT NULL,
185
  `page_id` varchar(255) collate latin1_general_ci NOT NULL,
186
  `string` text collate latin1_general_ci,
187
  PRIMARY KEY  (`id`,`page_id`)
188
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
189
 
190
--
191
-- Dumping data for table `i18n_en`
192
--
193
 
194
 
195
/*!40000 ALTER TABLE `i18n_en` DISABLE KEYS */;
196
LOCK TABLES `i18n_en` WRITE;
197
INSERT INTO `i18n_en` VALUES ('actions','common','Actions'),('activate','common','Activate'),('alert','common','Alert'),('an_error_occured','common','An error occured!'),('at','common','at'),('can_login_now','common','He can now login!'),('changed_subject','common','Password changed'),('change_subject','common','Password change requested'),('critical','common','Critical'),('date','common','Date'),('debug','common','Debug'),('delete','common','delete'),('EC1','common','World Europe Champion'),('EC2','common','Vize-Europe Champion'),('edit','common','edit'),('email','common','email address'),('email_empty','common','Please enter an email address!'),('email_exists','common','A user with the email Address \"<b>%s</b>\" already exists!'),('email_invalid','common','The email address is (syntactically) incorrect!'),('emergency','common','Emergency'),('error','common','Fehler'),('flag','common','Flag'),('fourth','common','Fourth'),('game','common','Game'),('games','common','Games'),('game_name','common','Name of game'),('go','common','go'),('goal_diff','common','Goal difference'),('goal_relation','common','Goal relation'),('group','common','Group'),('groups','common','Groups'),('g_type','common','Game Type'),('host','common','Germany'),('info','common','Information'),('key','common','Activation key'),('language','common','Language'),('language_empty','common','Please select a language!'),('list_of_games','common','List of games'),('list_of_groups','common','Group List'),('list_of_teams','common','Team List'),('list_of_types','common','Type List'),('list_of_venues','common','List of venues'),('logged_in_as','common','logged in as'),('login','common','Login'),('logout','common','Logout'),('lost_password','common','lost password'),('max_games','common','maximum count of games'),('message','common','Message'),('notice','common','Notice'),('not_logged_in','common','not logged in'),('of','common','of'),('o_clock','common','o\' clock'),('page','common','Page'),('password','common','Password'),('password_confirm','common','Confirm password'),('password_confirm_empty','common','Please enter the password a second time!'),('password_diff','common','The passwords do not match!'),('password_empty','common','Please enter a password!'),('please_select','common','Please select!'),('points','common','Points'),('prel_table','common','Preliminary round table'),('priority','common','Priority'),('profile','common','Profile'),('property','common','Property'),('rank','common','Rank'),('register','common','Register'),('reg_failed','common','Registration failed!'),('reg_info','common','You will recieve an email with further instructions / information shortly!'),('reg_subject','common','successfull registration'),('reg_success','common','User <b>\"%s\"</b> was successfully registered.'),('result','common','Result'),('separated_in','common','separated in'),('stadium_name','common','Stadium name'),('table_pos','common','Table position'),('tasks','common','Tasks'),('team','common','Team'),('teams','common','Teams'),('third','common','Third'),('time','common','Time'),('userinfo_incorrect','common','Username and / or Password are incorrect!'),('username','common','Username'),('username_empty','common','Please enter a username!'),('user_activated','common','The User \"<b>%s</b>\" was activated successfully!'),('user_activation','common','User Activation'),('user_exists','common','A user with the name \"<b>%s</b>\" already exists!'),('value','common','Value'),('venue','common','Venue'),('venues','common','Venues'),('view_log','common','View Log'),('warning','common','Warning'),('WC','common','WC'),('WC1','common','World Champion'),('WC2','common','Vize-World Champion');
198
UNLOCK TABLES;
199
/*!40000 ALTER TABLE `i18n_en` ENABLE KEYS */;
200
 
201
--
202
-- Table structure for table `langs`
203
--
204
 
205
DROP TABLE IF EXISTS `langs`;
206
CREATE TABLE `langs` (
207
  `id` char(2) collate latin1_general_ci NOT NULL,
208
  `name` varchar(255) collate latin1_general_ci default NULL,
209
  `meta` varchar(255) collate latin1_general_ci default NULL,
210
  `error_text` varchar(255) collate latin1_general_ci default NULL,
211
  `encoding` varchar(255) collate latin1_general_ci default NULL,
212
  PRIMARY KEY  (`id`)
213
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
214
 
215
--
216
-- Dumping data for table `langs`
217
--
218
 
219
 
220
/*!40000 ALTER TABLE `langs` DISABLE KEYS */;
221
LOCK TABLES `langs` WRITE;
222
INSERT INTO `langs` VALUES ('de','Deutsch','','',NULL),('en','Englisch',NULL,NULL,NULL);
223
UNLOCK TABLES;
224
/*!40000 ALTER TABLE `langs` ENABLE KEYS */;
225
 
226
--
227
-- Table structure for table `locations`
228
--
229
 
3 lars 230
DROP TABLE IF EXISTS `locations`;
74 lars 231
CREATE TABLE `locations` (
3 lars 232
  `l_id` int(10) unsigned NOT NULL auto_increment,
233
  `l_name` varchar(255) collate latin1_general_ci default NULL,
42 lars 234
  `l_name2` varchar(255) collate latin1_general_ci NOT NULL,
3 lars 235
  PRIMARY KEY  (`l_id`)
74 lars 236
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
3 lars 237
 
74 lars 238
--
239
-- Dumping data for table `locations`
240
--
46 lars 241
 
242
 
74 lars 243
/*!40000 ALTER TABLE `locations` DISABLE KEYS */;
244
LOCK TABLES `locations` WRITE;
245
INSERT INTO `locations` VALUES (1,'Dortmund','FIFA WM-Stadion'),(2,'Gelsenkirchen','FIFA WM-Stadion'),(3,'Berlin','Olympiastadion'),(4,'Frankfurt','FIFA WM-Stadion'),(5,'Hamburg','FIFA WM-Stadion'),(6,'Hannover','FIFA WM-Stadion'),(7,'Kaiserslautern','Fritz-Walter-Stadion'),(8,'Köln','FIFA WM-Stadion'),(9,'Leipzig','Zentralstadion'),(10,'München','FIFA WM-Stadion'),(11,'Nürnberg','Frankenstadion'),(12,'Stuttgart','Gottlieb-Daimler-Stadion');
246
UNLOCK TABLES;
247
/*!40000 ALTER TABLE `locations` ENABLE KEYS */;
3 lars 248
 
74 lars 249
--
250
-- Table structure for table `log`
251
--
18 lars 252
 
253
DROP TABLE IF EXISTS `log`;
74 lars 254
CREATE TABLE `log` (
18 lars 255
  `id` int(11) unsigned NOT NULL auto_increment,
74 lars 256
  `u_id` int(11) default '0',
257
  `priority` int(11) NOT NULL,
258
  `ident` varchar(16) collate latin1_general_ci NOT NULL,
259
  `logtime` int(11) unsigned NOT NULL default '0',
260
  `message` varchar(255) collate latin1_general_ci NOT NULL,
18 lars 261
  PRIMARY KEY  (`id`),
74 lars 262
  KEY `user_id` (`u_id`),
263
  CONSTRAINT `log_ibfk_1` FOREIGN KEY (`u_id`) REFERENCES `auth_user` (`u_id`) ON DELETE SET NULL ON UPDATE CASCADE
264
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
18 lars 265
 
74 lars 266
--
267
-- Dumping data for table `log`
268
--
46 lars 269
 
270
 
74 lars 271
/*!40000 ALTER TABLE `log` DISABLE KEYS */;
272
LOCK TABLES `log` WRITE;
273
INSERT INTO `log` VALUES (1,1,6,'fifa',1152397446,'Spiel Spiel um Platz 3 erfolgreich geändert!'),(2,1,6,'fifa',1152515198,'Spiel Finale erfolgreich geändert!'),(3,1,6,'fifa',1152531759,'Spieltyp Vorrunde erfolgreich geändert');
274
UNLOCK TABLES;
275
/*!40000 ALTER TABLE `log` ENABLE KEYS */;
18 lars 276
 
74 lars 277
--
278
-- Table structure for table `teams`
279
--
3 lars 280
 
281
DROP TABLE IF EXISTS `teams`;
74 lars 282
CREATE TABLE `teams` (
3 lars 283
  `t_id` int(10) unsigned NOT NULL auto_increment,
284
  `t_name` varchar(255) collate latin1_general_ci default NULL,
285
  `t_group` int(10) unsigned NOT NULL,
18 lars 286
  `t_pos` tinyint(1) unsigned NOT NULL,
287
  `t_diff` tinyint(3) NOT NULL,
288
  `t_points` tinyint(2) unsigned NOT NULL,
289
  `t_goals` varchar(10) collate latin1_general_ci NOT NULL,
42 lars 290
  `t_flag` varchar(255) collate latin1_general_ci NOT NULL,
74 lars 291
  `t_aus` set('-1','1','2','3','4','5','6') collate latin1_general_ci default NULL,
3 lars 292
  PRIMARY KEY  (`t_id`),
293
  KEY `t_name` (`t_name`),
74 lars 294
  KEY `t_group` (`t_group`),
295
  CONSTRAINT `teams_ibfk_1` FOREIGN KEY (`t_group`) REFERENCES `groups` (`g_id`) ON UPDATE CASCADE
296
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
3 lars 297
 
74 lars 298
--
299
-- Dumping data for table `teams`
300
--
46 lars 301
 
302
 
74 lars 303
/*!40000 ALTER TABLE `teams` DISABLE KEYS */;
304
LOCK TABLES `teams` WRITE;
305
INSERT INTO `teams` VALUES (1,'Deutschland',1,1,6,9,'8 : 2','Germany.png','5'),(2,'Costa Rica',1,4,-6,0,'3 : 9','Costa_Rica.png','1'),(3,'Polen',1,3,-2,3,'2 : 4','Poland.png','1'),(4,'Ecuador',1,2,2,6,'5 : 3','Ecuador.png','2'),(5,'England',2,1,3,7,'5 : 2','England.png','3'),(6,'Paraguay',2,3,0,3,'2 : 2','Paraguay.png','1'),(7,'Trinidad/Tobago',2,4,-4,1,'0 : 4','Trinidad_Tobago.png','1'),(8,'Schweden',2,2,1,5,'3 : 2','Sweden.png','2'),(9,'Argentinien',3,1,7,7,'8 : 1','Argentina.png','3'),(10,'Elfenbeinküste',3,3,-1,3,'5 : 6','Cote_dIvoire.png','1'),(11,'Serbien/Montenegro',3,4,-8,0,'2 : 10','Serbia_Montenegro.png','1'),(12,'Niederlande',3,2,2,7,'3 : 1','Netherlands.png','2'),(13,'Mexiko',4,2,1,4,'4 : 3','Mexico.png','2'),(14,'Iran',4,4,-4,1,'2 : 6','Iran.png','1'),(15,'Angola',4,3,-1,2,'1 : 2','Angola.png','1'),(16,'Portugal',4,1,4,9,'5 : 1','Portugal.png','5'),(17,'Italien',5,1,4,7,'5 : 1','Italy.png','6'),(18,'Ghana',5,2,1,6,'4 : 3','Ghana.png','2'),(19,'USA',5,4,-4,1,'2 : 6','USA.png','1'),(20,'Tschechien',5,3,-1,3,'3 : 4','Czech_Republic.png','1'),(21,'Brasilien',6,1,6,9,'7 : 1','Brazil.png','3'),(22,'Kroatien',6,3,-1,2,'2 : 3','Croatia.png','1'),(23,'Australien',6,2,0,4,'5 : 5','Australia.png','2'),(24,'Japan',6,4,-5,1,'2 : 7','Japan.png','1'),(25,'Frankreich',7,2,2,5,'3 : 1','France.png','6'),(26,'Schweiz',7,1,4,7,'4 : 0','Switzerland.png','2'),(27,'Südkorea',7,3,-1,4,'3 : 4','Korea_Republic.png','1'),(28,'Togo',7,4,-5,0,'1 : 6','Togo.png','1'),(29,'Spanien',8,1,7,9,'8 : 1','Spain.png','2'),(30,'Ukraine',8,2,1,6,'5 : 4','Ukraine.png','3'),(31,'Tunesien',8,3,-3,1,'3 : 6','Tunisia.png','1'),(32,'Saudi-Arabien',8,4,-5,1,'2 : 7','Saudi_Arabia.png','1');
306
UNLOCK TABLES;
307
/*!40000 ALTER TABLE `teams` ENABLE KEYS */;
18 lars 308
 
74 lars 309
--
310
-- Table structure for table `types`
311
--
18 lars 312
 
313
DROP TABLE IF EXISTS `types`;
74 lars 314
CREATE TABLE `types` (
18 lars 315
  `t_id` int(10) unsigned NOT NULL auto_increment,
316
  `t_name` varchar(255) collate latin1_general_ci NOT NULL,
42 lars 317
  `t_max` int(11) NOT NULL,
18 lars 318
  PRIMARY KEY  (`t_id`)
74 lars 319
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
18 lars 320
 
74 lars 321
--
322
-- Dumping data for table `types`
323
--
46 lars 324
 
325
 
74 lars 326
/*!40000 ALTER TABLE `types` DISABLE KEYS */;
327
LOCK TABLES `types` WRITE;
328
INSERT INTO `types` VALUES (1,'Vorrunde',48),(2,'Achtelfinale',8),(3,'Viertelfinale',4),(4,'Halbfinale',2),(5,'Spiel um Platz 3',1),(6,'Finale',1);
329
UNLOCK TABLES;
330
/*!40000 ALTER TABLE `types` ENABLE KEYS */;
331
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3 lars 332
 
74 lars 333
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
334
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
335
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
336
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
337
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
338
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
339
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
18 lars 340
 
3 lars 341
SET FOREIGN_KEY_CHECKS=1;