| Zeile 1... |
Zeile -... |
| 1 |
-- phpMyAdmin SQL Dump
|
- |
|
| 2 |
-- version 2.8.0.4
|
1 |
-- MySQL dump 10.10
|
| 3 |
-- http://www.phpmyadmin.net
|
- |
|
| 4 |
--
|
2 |
--
|
| 5 |
-- Host: localhost
|
3 |
-- Host: localhost Database: wm2006
|
| 6 |
-- Erstellungszeit: 24. Juni 2006 um 12:49
|
4 |
-- ------------------------------------------------------
|
| 7 |
-- Server Version: 5.0.22
|
5 |
-- Server version 5.0.22-standard-log
|
| - |
|
6 |
|
| - |
|
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 */;
|
| 8 |
-- PHP-Version: 5.1.4-pl3-gentoo
|
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 */;
|
| Zeile 9... |
Zeile 17... |
| 9 |
|
17 |
|
| Zeile 10... |
Zeile -... |
| 10 |
SET FOREIGN_KEY_CHECKS=0;
|
- |
|
| 11 |
|
- |
|
| 12 |
SET AUTOCOMMIT=0;
|
- |
|
| 13 |
START TRANSACTION;
|
18 |
SET FOREIGN_KEY_CHECKS=0;
|
| 14 |
|
- |
|
| 15 |
--
|
- |
|
| 16 |
-- Datenbank: `wm2006`
|
- |
|
| 17 |
--
|
- |
|
| 18 |
|
- |
|
| 19 |
-- --------------------------------------------------------
|
- |
|
| 20 |
|
19 |
|
| 21 |
--
|
20 |
--
|
| Zeile 22... |
Zeile 21... |
| 22 |
-- Tabellenstruktur für Tabelle `auth_user`
|
21 |
-- Table structure for table `auth_user`
|
| 23 |
--
|
22 |
--
|
| 24 |
|
23 |
|
| 25 |
DROP TABLE IF EXISTS `auth_user`;
|
24 |
DROP TABLE IF EXISTS `auth_user`;
|
| 26 |
CREATE TABLE IF NOT EXISTS `auth_user` (
|
25 |
CREATE TABLE `auth_user` (
|
| 27 |
`u_id` int(11) NOT NULL auto_increment,
|
26 |
`u_id` int(11) NOT NULL auto_increment,
|
| - |
|
27 |
`u_name` varchar(255) collate latin1_general_ci NOT NULL,
|
| - |
|
28 |
`u_email` varchar(255) collate latin1_general_ci NOT NULL,
|
| 28 |
`u_name` varchar(255) collate latin1_german1_ci NOT NULL default '',
|
29 |
`u_password` varchar(50) collate latin1_general_ci NOT NULL,
|
| - |
|
30 |
`u_key` varchar(32) collate latin1_general_ci default NULL,
|
| 29 |
`u_email` varchar(255) character set latin1 collate latin1_general_ci NOT NULL,
|
31 |
`u_active` tinyint(1) unsigned default NULL,
|
| 30 |
`u_password` varchar(50) collate latin1_german1_ci NOT NULL default '',
|
32 |
`u_type` tinyint(1) unsigned NOT NULL default '0',
|
| 31 |
`u_type` int(11) unsigned NOT NULL default '0',
|
33 |
`u_lang` char(2) collate latin1_general_ci NOT NULL,
|
| 32 |
PRIMARY KEY (`u_id`),
|
34 |
PRIMARY KEY (`u_id`),
|
| 33 |
UNIQUE KEY `u_name` (`u_name`),
|
- |
|
| 34 |
UNIQUE KEY `u_email` (`u_email`)
|
- |
|
| 35 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_german1_ci AUTO_INCREMENT=3 ;
|
- |
|
| 36 |
|
- |
|
| Zeile 37... |
Zeile -... |
| 37 |
--
|
- |
|
| - |
|
35 |
UNIQUE KEY `u_name` (`u_name`),
|
| 38 |
-- Daten für Tabelle `auth_user`
|
36 |
UNIQUE KEY `u_email` (`u_email`)
|
| - |
|
37 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
| Zeile 39... |
Zeile -... |
| 39 |
--
|
- |
|
| Zeile -... |
Zeile 38... |
| - |
|
38 |
|
| - |
|
39 |
--
|
| - |
|
40 |
-- Dumping data for table `auth_user`
|
| - |
|
41 |
--
|
| - |
|
42 |
|
| - |
|
43 |
|
| 40 |
|
44 |
/*!40000 ALTER TABLE `auth_user` DISABLE KEYS */;
|
| 41 |
INSERT INTO `auth_user` (`u_id`, `u_name`, `u_email`, `u_password`, `u_type`) VALUES (1, 'LTiefland', 'ltiefland@gmail.com', '77eeef4a06967c4bfcb83391a690aa13', 1),
|
45 |
LOCK TABLES `auth_user` WRITE;
|
| 42 |
(2, 'test', 'ltiefland@lycos.de', '68eacb97d86f0c4621fa2b0e17cabd8c', 0);
|
46 |
INSERT INTO `auth_user` VALUES (1,'LTiefland','ltiefland@gmail.com','77eeef4a06967c4bfcb83391a690aa13','',1,1,'de'),(2,'test','ltiefland@lycos.de','68eacb97d86f0c4621fa2b0e17cabd8c','',1,1,'en');
|
| Zeile 43... |
Zeile 47... |
| 43 |
|
47 |
UNLOCK TABLES;
|
| 44 |
-- --------------------------------------------------------
|
48 |
/*!40000 ALTER TABLE `auth_user` ENABLE KEYS */;
|
| 45 |
|
49 |
|
| 46 |
--
|
50 |
--
|
| 47 |
-- Tabellenstruktur für Tabelle `challenge`
|
51 |
-- Table structure for table `challenge`
|
| 48 |
--
|
52 |
--
|
| 49 |
|
53 |
|
| 50 |
DROP TABLE IF EXISTS `challenge`;
|
54 |
DROP TABLE IF EXISTS `challenge`;
|
| - |
|
55 |
CREATE TABLE `challenge` (
|
| 51 |
CREATE TABLE IF NOT EXISTS `challenge` (
|
56 |
`id` int(10) unsigned NOT NULL auto_increment,
|
| 52 |
`id` int(10) unsigned NOT NULL auto_increment,
|
- |
|
| 53 |
`challenge_id` varchar(255) collate latin1_general_ci NOT NULL,
|
- |
|
| 54 |
`u_id` int(11) NOT NULL,
|
- |
|
| 55 |
PRIMARY KEY (`id`),
|
- |
|
| Zeile -... |
Zeile 57... |
| - |
|
57 |
`challenge_id` varchar(255) collate latin1_general_ci NOT NULL,
|
| - |
|
58 |
`u_id` int(11) NOT NULL,
|
| - |
|
59 |
PRIMARY KEY (`id`),
|
| Zeile 56... |
Zeile -... |
| 56 |
UNIQUE KEY `challenge_id` (`challenge_id`,`u_id`),
|
- |
|
| Zeile -... |
Zeile 60... |
| - |
|
60 |
UNIQUE KEY `challenge_id` (`challenge_id`,`u_id`),
|
| - |
|
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;
|
| - |
|
64 |
|
| 57 |
KEY `u_id` (`u_id`)
|
65 |
--
|
| 58 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
|
66 |
-- Dumping data for table `challenge`
|
| 59 |
|
67 |
--
|
| Zeile 60... |
Zeile 68... |
| 60 |
--
|
68 |
|
| 61 |
-- Daten für Tabelle `challenge`
|
69 |
|
| 62 |
--
|
70 |
/*!40000 ALTER TABLE `challenge` DISABLE KEYS */;
|
| 63 |
|
71 |
LOCK TABLES `challenge` WRITE;
|
| 64 |
|
72 |
UNLOCK TABLES;
|
| 65 |
-- --------------------------------------------------------
|
73 |
/*!40000 ALTER TABLE `challenge` ENABLE KEYS */;
|
| Zeile 66... |
Zeile 74... |
| 66 |
|
74 |
|
| 67 |
--
|
75 |
--
|
| 68 |
-- Tabellenstruktur für Tabelle `config`
|
76 |
-- Table structure for table `config`
|
| - |
|
77 |
--
|
| 69 |
--
|
78 |
|
| 70 |
|
79 |
DROP TABLE IF EXISTS `config`;
|
| 71 |
DROP TABLE IF EXISTS `config`;
|
- |
|
| 72 |
CREATE TABLE IF NOT EXISTS `config` (
|
- |
|
| 73 |
`config_name` varchar(255) collate latin1_general_ci NOT NULL,
|
- |
|
| 74 |
`config_value` varchar(255) collate latin1_general_ci NOT NULL,
|
- |
|
| 75 |
PRIMARY KEY (`config_name`)
|
- |
|
| 76 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
80 |
CREATE TABLE `config` (
|
| 77 |
|
- |
|
| 78 |
--
|
- |
|
| - |
|
81 |
`config_name` varchar(255) collate latin1_general_ci NOT NULL,
|
| 79 |
-- Daten für Tabelle `config`
|
82 |
`config_value` varchar(255) collate latin1_general_ci NOT NULL,
|
| 80 |
--
|
- |
|
| 81 |
|
83 |
PRIMARY KEY (`config_name`)
|
| 82 |
INSERT INTO `config` (`config_name`, `config_value`) VALUES ('cookie_name', 'cookie_wm'),
|
84 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
| 83 |
('groups', '8'),
|
85 |
|
| 84 |
('host', 'Germany'),
|
86 |
--
|
| 85 |
('logo', 'WC06_Logo.png'),
|
87 |
-- Dumping data for table `config`
|
| Zeile 86... |
Zeile 88... |
| 86 |
('max_anz', '16'),
|
88 |
--
|
| 87 |
('session_length', '1200'),
|
89 |
|
| 88 |
('teams_per_group', '4'),
|
90 |
|
| 89 |
('type', 'WM'),
|
91 |
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
|
| 90 |
('version', '0.1.0'),
|
92 |
LOCK TABLES `config` WRITE;
|
| 91 |
('year', '2006');
|
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');
|
| 92 |
|
94 |
UNLOCK TABLES;
|
| Zeile 109... |
Zeile 111... |
| 109 |
`g_type` int(10) unsigned NOT NULL,
|
111 |
`g_type` int(10) unsigned NOT NULL,
|
| 110 |
PRIMARY KEY (`g_id`),
|
112 |
PRIMARY KEY (`g_id`),
|
| 111 |
KEY `g_location` (`g_location`),
|
113 |
KEY `g_location` (`g_location`),
|
| 112 |
KEY `g_m1` (`g_m1`,`g_m2`),
|
114 |
KEY `g_m1` (`g_m1`,`g_m2`),
|
| 113 |
KEY `g_m2` (`g_m2`),
|
115 |
KEY `g_m2` (`g_m2`),
|
| 114 |
KEY `g_type` (`g_type`)
|
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
|
| 115 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=57 ;
|
120 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
| - |
|
121 |
|
| - |
|
122 |
--
|
| - |
|
123 |
-- Dumping data for table `games`
|
| - |
|
124 |
--
|
| Zeile 116... |
Zeile -... |
| 116 |
|
- |
|
| 117 |
--
|
- |
|
| 118 |
-- Daten für Tabelle `games`
|
- |
|
| 119 |
--
|
125 |
|
| 120 |
|
- |
|
| 121 |
INSERT INTO `games` (`g_id`, `g_name`, `g_m1`, `g_m2`, `g_g1`, `g_g2`, `g_location`, `g_date`, `g_type`) VALUES (1, 'Spiel 1', 1, 2, 4, 2, 10, 1149868800, 1),
|
126 |
|
| 122 |
(2, 'Spiel 2', 3, 4, 0, 2, 2, 1149879600, 1),
|
127 |
/*!40000 ALTER TABLE `games` DISABLE KEYS */;
|
| 123 |
(3, 'Spiel 3', 5, 6, 1, 0, 4, 1149944400, 1),
|
128 |
LOCK TABLES `games` WRITE;
|
| 124 |
(4, 'Spiel 4', 7, 8, 0, 0, 1, 1149955200, 1),
|
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);
|
| 125 |
(5, 'Spiel 5', 9, 10, 2, 1, 5, 1149966000, 1),
|
- |
|
| 126 |
(6, 'Spiel 6', 11, 12, 0, 1, 9, 1150030800, 1),
|
- |
|
| 127 |
(7, 'Spiel 7', 13, 14, 3, 1, 11, 1150041600, 1),
|
- |
|
| 128 |
(8, 'Spiel 8', 15, 16, 0, 1, 8, 1150052400, 1),
|
- |
|
| 129 |
(9, 'Spiel 12', 23, 24, 3, 1, 7, 1150117200, 1),
|
- |
|
| 130 |
(10, 'Spie 10', 19, 20, 0, 3, 2, 1150128000, 1),
|
- |
|
| 131 |
(11, 'Spiel 9', 17, 18, 2, 0, 6, 1150138800, 1),
|
- |
|
| 132 |
(12, 'Spiel 14', 27, 28, 2, 1, 4, 1150203600, 1),
|
- |
|
| 133 |
(13, 'Spiel 13', 25, 26, 0, 0, 12, 1150214400, 1),
|
- |
|
| 134 |
(14, 'Spiel 11', 21, 22, 1, 0, 3, 1150225200, 1),
|
- |
|
| 135 |
(15, 'Spiel 15', 29, 30, 4, 0, 9, 1150290000, 1),
|
- |
|
| 136 |
(16, 'Spiel 16', 31, 32, 2, 2, 10, 1150300800, 1),
|
- |
|
| 137 |
(17, 'Spiel 17', 1, 3, 1, 0, 1, 1150311600, 1),
|
- |
|
| 138 |
(18, 'Spiel 18', 4, 2, 3, 0, 5, 1150376400, 1),
|
- |
|
| 139 |
(19, 'Spiel 19', 5, 7, 2, 0, 11, 1150387200, 1),
|
- |
|
| 140 |
(20, 'Spiel 20', 8, 6, 1, 0, 3, 1150398000, 1),
|
- |
|
| 141 |
(21, 'Spiel 21', 9, 11, 6, 0, 2, 1150462800, 1),
|
- |
|
| 142 |
(22, 'Spiel 22', 12, 10, 2, 1, 12, 1150473600, 1),
|
- |
|
| 143 |
(23, 'Spiel 23', 13, 15, 0, 0, 6, 1150484400, 1),
|
- |
|
| 144 |
(24, 'Spiel 24', 16, 14, 2, 0, 4, 1150549200, 1),
|
- |
|
| 145 |
(25, 'Spiel 26', 20, 18, 0, 2, 8, 1150560000, 1),
|
- |
|
| 146 |
(26, 'Spiel 25', 17, 19, 1, 1, 7, 1150570800, 1),
|
- |
|
| 147 |
(27, 'Spiel 28', 24, 22, 0, 0, 11, 1150635600, 1),
|
- |
|
| 148 |
(28, 'Spiel 27', 21, 23, 2, 0, 10, 1150646400, 1),
|
- |
|
| 149 |
(29, 'Spiel 29', 25, 27, 1, 1, 9, 1150657200, 1),
|
- |
|
| 150 |
(30, 'Spiel 30', 28, 26, 0, 2, 1, 1150722000, 1),
|
- |
|
| 151 |
(31, 'Spiel 32', 32, 30, 0, 4, 5, 1150732800, 1),
|
- |
|
| 152 |
(32, 'Spiel 31', 29, 31, 3, 1, 12, 1150743600, 1),
|
- |
|
| 153 |
(33, 'Spiel 33', 4, 1, 0, 3, 3, 1150812000, 1),
|
- |
|
| 154 |
(34, 'Spiel 34', 2, 3, 1, 2, 6, 1150812000, 1),
|
- |
|
| 155 |
(35, 'Spiel 35', 8, 5, 2, 2, 8, 1150830000, 1),
|
130 |
UNLOCK TABLES;
|
| 156 |
(36, 'Spiel 36', 6, 7, 2, 0, 7, 1150830000, 1),
|
- |
|
| 157 |
(37, 'Spiel 39', 16, 13, 2, 1, 2, 1150898400, 1),
|
- |
|
| 158 |
(38, 'Spiel 40', 14, 15, 1, 1, 9, 1150898400, 1),
|
- |
|
| 159 |
(39, 'Spiel 37', 12, 9, 0, 0, 4, 1150916400, 1),
|
- |
|
| 160 |
(40, 'Spiel 38', 10, 11, 3, 2, 10, 1150916400, 1),
|
- |
|
| 161 |
(41, 'Spiel 41', 20, 17, 0, 2, 5, 1150984800, 1),
|
- |
|
| 162 |
(42, 'Spiel 42', 18, 19, 2, 1, 11, 1150984800, 1),
|
- |
|
| 163 |
(43, 'Spiel 43', 24, 21, 1, 4, 1, 1151002800, 1),
|
- |
|
| 164 |
(44, 'Spiel 44', 22, 23, 2, 2, 12, 1151002800, 1),
|
- |
|
| 165 |
(45, 'Spiel 47', 32, 29, 0, 1, 7, 1151071200, 1),
|
- |
|
| 166 |
(46, 'Spiel 48', 30, 31, 1, 0, 3, 1151071200, 1),
|
- |
|
| 167 |
(47, 'Spiel 45', 28, 25, 0, 2, 8, 1151089200, 1),
|
- |
|
| 168 |
(48, 'Spiel 46', 26, 27, 2, 0, 6, 1151089200, 1),
|
- |
|
| 169 |
(49, 'Achtelfinalspiel 1', 1, 8, 0, 0, 10, 1151161200, 2),
|
- |
|
| 170 |
(50, 'Achtelfinalspiel 2', 9, 13, 0, 0, 9, 1151175600, 2),
|
- |
|
| 171 |
(51, 'Achtelfinalspiel 3', 5, 4, 0, 0, 12, 1151247600, 2),
|
- |
|
| 172 |
(52, 'Achtelfinalspiel 4', 16, 12, 0, 0, 11, 1151262000, 2),
|
- |
|
| 173 |
(53, 'Achtelfinaspiel 5', 17, 23, 0, 0, 7, 1151334000, 2),
|
- |
|
| 174 |
(54, 'Achtelfinalspiel 6', 26, 30, 0, 0, 8, 1151348400, 2),
|
- |
|
| 175 |
(55, 'Achtelfinalspiel 7', 21, 18, 0, 0, 1, 1151420400, 2),
|
- |
|
| 176 |
(56, 'Achtelfinalspiel 8', 29, 25, 0, 0, 6, 1151434800, 2);
|
- |
|
| 177 |
|
- |
|
| 178 |
-- --------------------------------------------------------
|
131 |
/*!40000 ALTER TABLE `games` ENABLE KEYS */;
|
| 179 |
|
132 |
|
| 180 |
--
|
133 |
--
|
| 181 |
-- Tabellenstruktur für Tabelle `groups`
|
134 |
-- Table structure for table `groups`
|
| Zeile 182... |
Zeile 135... |
| 182 |
--
|
135 |
--
|
| 183 |
|
136 |
|
| 184 |
DROP TABLE IF EXISTS `groups`;
|
137 |
DROP TABLE IF EXISTS `groups`;
|
| 185 |
CREATE TABLE IF NOT EXISTS `groups` (
|
138 |
CREATE TABLE `groups` (
|
| 186 |
`g_id` int(10) unsigned NOT NULL auto_increment,
|
139 |
`g_id` int(10) unsigned NOT NULL auto_increment,
|
| 187 |
`g_name` char(1) collate latin1_general_ci default NULL,
|
140 |
`g_name` char(1) collate latin1_general_ci default NULL,
|
| Zeile 188... |
Zeile 141... |
| 188 |
PRIMARY KEY (`g_id`)
|
141 |
PRIMARY KEY (`g_id`)
|
| 189 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=9 ;
|
142 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
| 190 |
|
143 |
|
| - |
|
144 |
--
|
| 191 |
--
|
145 |
-- Dumping data for table `groups`
|
| - |
|
146 |
--
|
| - |
|
147 |
|
| 192 |
-- Daten für Tabelle `groups`
|
148 |
|
| 193 |
--
|
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 */;
|
| - |
|
154 |
|
| - |
|
155 |
--
|
| - |
|
156 |
-- Table structure for table `i18n_de`
|
| - |
|
157 |
--
|
| - |
|
158 |
|
| - |
|
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 |
|
| 194 |
|
171 |
|
| 195 |
INSERT INTO `groups` (`g_id`, `g_name`) VALUES (1, 'A'),
|
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ßwort geändert'),('change_subject','common','Paßwortänderung beantragt'),('critical','common','kritisch'),('date','common','Datum'),('debug','common','Debug'),('delete','common','löschen'),('EC1','common','Europameister'),('EC2','common','Vize-Europameister'),('edit','common','ä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ätnis'),('group','common','Gruppe'),('groups','common','Gruppen'),('g_type','common','Spieltyp'),('host','common','Deutschland'),('info','common','Information'),('key','common','Aktivierungsschlüssel'),('language','common','Sprache'),('language_empty','common','Bitte eine Sprache auswä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ßwort'),('password_confirm','common','Paßwort bestätigen'),('password_confirm_empty','common','Bitte das Paßwort ein zweites mal eingeben!'),('password_diff','common','Die Paßwörter stimmen nicht überein!'),('password_empty','common','Bitte ein Paßwort eingeben!'),('please_select','common','Bitte wählen!'),('points','common','Punkte'),('prel_table','common','Vorrundentablle'),('priority','common','Prioriä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`
|
| 196 |
(2, 'B'),
|
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;
|
| 197 |
(3, 'C'),
|
189 |
|
| - |
|
190 |
--
|
| - |
|
191 |
-- Dumping data for table `i18n_en`
|
| - |
|
192 |
--
|
| - |
|
193 |
|
| 198 |
(4, 'D'),
|
194 |
|
| 199 |
(5, 'E'),
|
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 |
|
| 200 |
(6, 'F'),
|
201 |
--
|
| - |
|
202 |
-- Table structure for table `langs`
|
| - |
|
203 |
--
|
| - |
|
204 |
|
| - |
|
205 |
DROP TABLE IF EXISTS `langs`;
|
| 201 |
(7, 'G'),
|
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,
|
| 202 |
(8, 'H');
|
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);
|
| 203 |
|
223 |
UNLOCK TABLES;
|
| 204 |
-- --------------------------------------------------------
|
224 |
/*!40000 ALTER TABLE `langs` ENABLE KEYS */;
|
| 205 |
|
225 |
|
| Zeile 206... |
Zeile 226... |
| 206 |
--
|
226 |
--
|
| 207 |
-- Tabellenstruktur für Tabelle `locations`
|
227 |
-- Table structure for table `locations`
|
| 208 |
--
|
228 |
--
|
| 209 |
|
229 |
|
| 210 |
DROP TABLE IF EXISTS `locations`;
|
230 |
DROP TABLE IF EXISTS `locations`;
|
| 211 |
CREATE TABLE IF NOT EXISTS `locations` (
|
231 |
CREATE TABLE `locations` (
|
| 212 |
`l_id` int(10) unsigned NOT NULL auto_increment,
|
232 |
`l_id` int(10) unsigned NOT NULL auto_increment,
|
| - |
|
233 |
`l_name` varchar(255) collate latin1_general_ci default NULL,
|
| - |
|
234 |
`l_name2` varchar(255) collate latin1_general_ci NOT NULL,
|
| - |
|
235 |
PRIMARY KEY (`l_id`)
|
| - |
|
236 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
| - |
|
237 |
|
| Zeile 213... |
Zeile -... |
| 213 |
`l_name` varchar(255) collate latin1_general_ci default NULL,
|
- |
|
| 214 |
`l_name2` varchar(255) collate latin1_general_ci NOT NULL,
|
238 |
--
|
| 215 |
PRIMARY KEY (`l_id`)
|
- |
|
| 216 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=13 ;
|
- |
|
| 217 |
|
- |
|
| 218 |
--
|
- |
|
| 219 |
-- Daten für Tabelle `locations`
|
239 |
-- Dumping data for table `locations`
|
| 220 |
--
|
- |
|
| 221 |
|
- |
|
| 222 |
INSERT INTO `locations` (`l_id`, `l_name`, `l_name2`) VALUES (1, 'Dortmund', 'FIFA WM-Stadion'),
|
- |
|
| 223 |
(2, 'Gelsenkirchen', 'FIFA WM-Stadion'),
|
240 |
--
|
| 224 |
(3, 'Berlin', 'Olympiastadion'),
|
241 |
|
| 225 |
(4, 'Frankfurt', 'FIFA WM-Stadion'),
|
- |
|
| 226 |
(5, 'Hamburg', 'FIFA WM-Stadion'),
|
- |
|
| 227 |
(6, 'Hannover', 'FIFA WM-Stadion'),
|
- |
|
| 228 |
(7, 'Kaiserslautern', 'Fritz-Walter-Stadion'),
|
242 |
|
| 229 |
(8, 'Köln', 'FIFA WM-Stadion'),
|
- |
|
| 230 |
(9, 'Leipzig', 'Zentralstadion'),
|
- |
|
| 231 |
(10, 'München', 'FIFA WM-Stadion'),
|
243 |
/*!40000 ALTER TABLE `locations` DISABLE KEYS */;
|
| 232 |
(11, 'Nürnberg', 'Frankenstadion'),
|
244 |
LOCK TABLES `locations` WRITE;
|
| 233 |
(12, 'Stuttgart', 'Gottlieb-Daimler-Stadion');
|
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');
|
| 234 |
|
246 |
UNLOCK TABLES;
|
| Zeile 235... |
Zeile 247... |
| 235 |
-- --------------------------------------------------------
|
247 |
/*!40000 ALTER TABLE `locations` ENABLE KEYS */;
|
| 236 |
|
248 |
|
| 237 |
--
|
249 |
--
|
| 238 |
-- Tabellenstruktur für Tabelle `log`
|
250 |
-- Table structure for table `log`
|
| - |
|
251 |
--
|
| - |
|
252 |
|
| 239 |
--
|
253 |
DROP TABLE IF EXISTS `log`;
|
| 240 |
|
254 |
CREATE TABLE `log` (
|
| 241 |
DROP TABLE IF EXISTS `log`;
|
255 |
`id` int(11) unsigned NOT NULL auto_increment,
|
| 242 |
CREATE TABLE IF NOT EXISTS `log` (
|
256 |
`u_id` int(11) default '0',
|
| - |
|
257 |
`priority` int(11) NOT NULL,
|
| 243 |
`id` int(11) unsigned NOT NULL auto_increment,
|
258 |
`ident` varchar(16) collate latin1_general_ci NOT NULL,
|
| 244 |
`user_id` int(11) default '0',
|
- |
|
| 245 |
`datum` int(11) unsigned NOT NULL default '0',
|
- |
|
| 246 |
`message` varchar(255) collate latin1_german1_ci NOT NULL default '',
|
- |
|
| 247 |
PRIMARY KEY (`id`),
|
- |
|
| Zeile -... |
Zeile 259... |
| - |
|
259 |
`logtime` int(11) unsigned NOT NULL default '0',
|
| - |
|
260 |
`message` varchar(255) collate latin1_general_ci NOT NULL,
|
| - |
|
261 |
PRIMARY KEY (`id`),
|
| Zeile 248... |
Zeile -... |
| 248 |
KEY `user_id` (`user_id`)
|
- |
|
| Zeile -... |
Zeile 262... |
| - |
|
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;
|
| - |
|
265 |
|
| - |
|
266 |
--
|
| - |
|
267 |
-- Dumping data for table `log`
|
| 249 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_german1_ci AUTO_INCREMENT=1 ;
|
268 |
--
|
| 250 |
|
269 |
|
| 251 |
--
|
270 |
|
| Zeile 252... |
Zeile 271... |
| 252 |
-- Daten für Tabelle `log`
|
271 |
/*!40000 ALTER TABLE `log` DISABLE KEYS */;
|
| 253 |
--
|
272 |
LOCK TABLES `log` WRITE;
|
| 254 |
|
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');
|
| 255 |
|
274 |
UNLOCK TABLES;
|
| 256 |
-- --------------------------------------------------------
|
275 |
/*!40000 ALTER TABLE `log` ENABLE KEYS */;
|
| 257 |
|
276 |
|
| 258 |
--
|
277 |
--
|
| 259 |
-- Tabellenstruktur für Tabelle `teams`
|
278 |
-- Table structure for table `teams`
|
| 260 |
--
|
279 |
--
|
| 261 |
|
280 |
|
| - |
|
281 |
DROP TABLE IF EXISTS `teams`;
|
| 262 |
DROP TABLE IF EXISTS `teams`;
|
282 |
CREATE TABLE `teams` (
|
| 263 |
CREATE TABLE IF NOT EXISTS `teams` (
|
283 |
`t_id` int(10) unsigned NOT NULL auto_increment,
|
| 264 |
`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,
|
| 265 |
`t_name` varchar(255) collate latin1_general_ci default NULL,
|
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,
|
| - |
|
290 |
`t_flag` varchar(255) collate latin1_general_ci NOT NULL,
|
| - |
|
291 |
`t_aus` set('-1','1','2','3','4','5','6') collate latin1_general_ci default NULL,
|
| Zeile 266... |
Zeile -... |
| 266 |
`t_group` int(10) unsigned NOT NULL,
|
- |
|
| 267 |
`t_pos` tinyint(1) unsigned NOT NULL,
|
292 |
PRIMARY KEY (`t_id`),
|
| 268 |
`t_diff` tinyint(3) NOT NULL,
|
- |
|
| 269 |
`t_points` tinyint(2) unsigned NOT NULL,
|
- |
|
| 270 |
`t_goals` varchar(10) collate latin1_general_ci NOT NULL,
|
- |
|
| 271 |
`t_flag` varchar(255) collate latin1_general_ci NOT NULL,
|
- |
|
| 272 |
PRIMARY KEY (`t_id`),
|
- |
|
| 273 |
KEY `t_name` (`t_name`),
|
- |
|
| 274 |
KEY `t_group` (`t_group`)
|
- |
|
| 275 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=33 ;
|
- |
|
| 276 |
|
- |
|
| 277 |
--
|
- |
|
| 278 |
-- Daten für Tabelle `teams`
|
- |
|
| 279 |
--
|
- |
|
| 280 |
|
- |
|
| 281 |
INSERT INTO `teams` (`t_id`, `t_name`, `t_group`, `t_pos`, `t_diff`, `t_points`, `t_goals`, `t_flag`) VALUES (1, 'Deutschland', 1, 0, 6, 9, '8 : 2', 'Germany.png'),
|
- |
|
| 282 |
(2, 'Costa Rica', 1, 0, -6, 0, '3 : 9', 'Costa_Rica.png'),
|
- |
|
| 283 |
(3, 'Polen', 1, 0, -2, 3, '2 : 4', 'Poland.png'),
|
293 |
KEY `t_name` (`t_name`),
|
| 284 |
(4, 'Equador', 1, 0, 2, 6, '5 : 3', 'Ecuador.png'),
|
- |
|
| 285 |
(5, 'England', 2, 0, 3, 7, '5 : 2', 'England.png'),
|
294 |
KEY `t_group` (`t_group`),
|
| 286 |
(6, 'Paraguay', 2, 0, 0, 3, '2 : 2', 'Paraguay.png'),
|
- |
|
| 287 |
(7, 'Trinidad/Tobago', 2, 0, -4, 1, '0 : 4', 'Trinidad_Tobago.png'),
|
- |
|
| 288 |
(8, 'Schweden', 2, 0, 1, 5, '3 : 2', 'Sweden.png'),
|
295 |
CONSTRAINT `teams_ibfk_1` FOREIGN KEY (`t_group`) REFERENCES `groups` (`g_id`) ON UPDATE CASCADE
|
| 289 |
(9, 'Argentinien', 3, 0, 7, 7, '8 : 1', 'Argentina.png'),
|
- |
|
| 290 |
(10, 'Elfenbeinküste', 3, 0, -1, 3, '5 : 6', 'Cote_dIvoire.png'),
|
- |
|
| 291 |
(11, 'Serbien/Montenegro', 3, 0, -8, 0, '2 : 10', 'Serbia_Montenegro.png'),
|
- |
|
| 292 |
(12, 'Niederlande', 3, 0, 2, 7, '3 : 1', 'Netherlands.png'),
|
- |
|
| 293 |
(13, 'Mexiko', 4, 0, 1, 4, '4 : 3', 'Mexico.png'),
|
- |
|
| 294 |
(14, 'Iran', 4, 0, -4, 1, '2 : 6', 'Iran.png'),
|
- |
|
| 295 |
(15, 'Angola', 4, 0, -1, 2, '1 : 2', 'Angola.png'),
|
- |
|
| 296 |
(16, 'Portugal', 4, 0, 4, 9, '5 : 1', 'Portugal.png'),
|
- |
|
| 297 |
(17, 'Italien', 5, 0, 4, 7, '5 : 1', 'Italy.png'),
|
296 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
| 298 |
(18, 'Ghana', 5, 0, 1, 6, '4 : 3', 'Ghana.png'),
|
- |
|
| 299 |
(19, 'USA', 5, 0, -4, 1, '2 : 6', 'USA.png'),
|
- |
|
| 300 |
(20, 'Tschechien', 5, 0, -1, 3, '3 : 4', 'Czech_Republic.png'),
|
- |
|
| 301 |
(21, 'Brasilien', 6, 0, 6, 9, '7 : 1', 'Brazil.png'),
|
- |
|
| 302 |
(22, 'Kroatien', 6, 0, -1, 2, '2 : 3', 'Croatia.png'),
|
- |
|
| 303 |
(23, 'Australien', 6, 0, 0, 4, '5 : 5', 'Australia.png'),
|
- |
|
| 304 |
(24, 'Japan', 6, 0, -5, 1, '2 : 7', 'Japan.png'),
|
297 |
|
| 305 |
(25, 'Frankreich', 7, 0, 2, 5, '3 : 1', 'France.png'),
|
298 |
--
|
| 306 |
(26, 'Schweiz', 7, 0, 4, 7, '4 : 0', 'Switzerland.png'),
|
299 |
-- Dumping data for table `teams`
|
| 307 |
(27, 'Südkorea', 7, 0, -1, 4, '3 : 4', 'Korea_Republic.png'),
|
300 |
--
|
| Zeile 308... |
Zeile 301... |
| 308 |
(28, 'Togo', 7, 0, -5, 0, '1 : 6', 'Togo.png'),
|
301 |
|
| 309 |
(29, 'Spanien', 8, 0, 7, 9, '8 : 1', 'Spain.png'),
|
302 |
|
| 310 |
(30, 'Ukraine', 8, 0, 1, 6, '5 : 4', 'Ukraine.png'),
|
303 |
/*!40000 ALTER TABLE `teams` DISABLE KEYS */;
|
| 311 |
(31, 'Tunesien', 8, 0, -3, 1, '3 : 6', 'Tunisia.png'),
|
304 |
LOCK TABLES `teams` WRITE;
|
| 312 |
(32, 'Saudi-Arabien', 8, 0, -5, 1, '2 : 7', 'Saudi_Arabia.png');
|
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');
|
| 313 |
|
306 |
UNLOCK TABLES;
|
| 314 |
-- --------------------------------------------------------
|
307 |
/*!40000 ALTER TABLE `teams` ENABLE KEYS */;
|
| Zeile 315... |
Zeile 308... |
| 315 |
|
308 |
|
| 316 |
--
|
309 |
--
|
| 317 |
-- Tabellenstruktur für Tabelle `types`
|
310 |
-- Table structure for table `types`
|
| 318 |
--
|
311 |
--
|
| 319 |
|
- |
|
| 320 |
DROP TABLE IF EXISTS `types`;
|
- |
|
| 321 |
CREATE TABLE IF NOT EXISTS `types` (
|
- |
|
| 322 |
`t_id` int(10) unsigned NOT NULL auto_increment,
|
- |
|
| 323 |
`t_name` varchar(255) collate latin1_general_ci NOT NULL,
|
- |
|
| 324 |
`t_max` int(11) NOT NULL,
|
- |
|
| 325 |
PRIMARY KEY (`t_id`)
|
312 |
|
| 326 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=7 ;
|
- |
|
| 327 |
|
313 |
DROP TABLE IF EXISTS `types`;
|
| 328 |
--
|
- |
|
| 329 |
-- Daten für Tabelle `types`
|
- |
|
| 330 |
--
|
- |
|
| 331 |
|
- |
|
| 332 |
INSERT INTO `types` (`t_id`, `t_name`, `t_max`) VALUES (1, 'Vorrunde', 48),
|
- |
|
| 333 |
(2, 'Achtelfinale', 8),
|
314 |
CREATE TABLE `types` (
|
| 334 |
(3, 'Viertelfinale', 4),
|
315 |
`t_id` int(10) unsigned NOT NULL auto_increment,
|
| 335 |
(4, 'Halbfinale', 2),
|
- |
|
| 336 |
(5, 'Spiel um Platz 3', 1),
|
- |
|
| 337 |
(6, 'Finale', 1);
|
- |
|
| 338 |
|
- |
|
| 339 |
--
|
316 |
`t_name` varchar(255) collate latin1_general_ci NOT NULL,
|
| 340 |
-- Constraints der exportierten Tabellen
|
317 |
`t_max` int(11) NOT NULL,
|
| 341 |
--
|
318 |
PRIMARY KEY (`t_id`)
|
| 342 |
|
- |
|
| 343 |
--
|
319 |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
| 344 |
-- Constraints der Tabelle `challenge`
|
- |
|
| 345 |
--
|
320 |
|
| 346 |
ALTER TABLE `challenge`
|
- |
|
| 347 |
ADD CONSTRAINT `challenge_ibfk_1` FOREIGN KEY (`u_id`) REFERENCES `auth_user` (`u_id`) ON DELETE CASCADE ON UPDATE CASCADE;
|
- |
|
| 348 |
|
321 |
--
|
| 349 |
--
|
- |
|
| 350 |
-- Constraints der Tabelle `games`
|
- |
|
| 351 |
--
|
322 |
-- Dumping data for table `types`
|
| 352 |
ALTER TABLE `games`
|
- |
|
| 353 |
ADD CONSTRAINT `games_ibfk_16` FOREIGN KEY (`g_m1`) REFERENCES `teams` (`t_id`) ON UPDATE CASCADE,
|
323 |
--
|
| 354 |
ADD CONSTRAINT `games_ibfk_17` FOREIGN KEY (`g_m2`) REFERENCES `teams` (`t_id`) ON UPDATE CASCADE,
|
324 |
|
| - |
|
325 |
|
| - |
|
326 |
/*!40000 ALTER TABLE `types` DISABLE KEYS */;
|
| Zeile 355... |
Zeile 327... |
| 355 |
ADD CONSTRAINT `games_ibfk_18` FOREIGN KEY (`g_location`) REFERENCES `locations` (`l_id`) ON UPDATE CASCADE;
|
327 |
LOCK TABLES `types` WRITE;
|
| 356 |
|
- |
|
| 357 |
--
|
- |
|