Changeset 7
- Timestamp:
- Jun 10, 2009, 8:17:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/sql/full.sql
r5 r7 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Úterý 09. června 2009, 09:326 -- Vygenerováno: Středa 10. června 2009, 19:29 7 7 -- Verze MySQL: 5.0.77 8 8 -- Verze PHP: 5.2.9 … … 13 13 -- Databáze: `wowhosting` 14 14 -- 15 16 -- -------------------------------------------------------- 17 18 -- 19 -- Struktura tabulky `Backup` 20 -- 21 22 CREATE TABLE IF NOT EXISTS `Backup` ( 23 `Id` int(11) NOT NULL auto_increment, 24 `Server` int(11) NOT NULL, 25 `Time` datetime NOT NULL, 26 PRIMARY KEY (`Id`) 27 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 28 29 -- 30 -- Vypisuji data pro tabulku `Backup` 31 -- 32 15 33 16 34 -- -------------------------------------------------------- … … 84 102 `Emulator` int(11) NOT NULL, 85 103 PRIMARY KEY (`Id`) 86 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT= 2;104 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; 87 105 88 106 -- … … 91 109 92 110 INSERT INTO `Database` (`Id`, `Name`, `Version`, `Revision`, `ScriptDev2Revision`, `ACIDRevision`, `SourceFileName`, `Emulator`) VALUES 93 (1, 'UDB', '0.11.5', 3 80, 1012, 0, 'UDB_0.11.5_Core_7681_SD2_1012.sql', 1);111 (1, 'UDB', '0.11.5', 371, 1012, 0, 'UDB_0.11.5_Core_7681_SD2_1012.sql', 1); 94 112 95 113 -- -------------------------------------------------------- … … 131 149 `ClientVersion` int(11) NOT NULL, 132 150 `Revision` int(11) NOT NULL, 133 PRIMARY KEY (`Id`) 134 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; 151 `CommitHash` varchar(255) NOT NULL, 152 `ScriptDev2PatchFileName` varchar(255) NOT NULL, 153 `ScriptDev2Revision` int(11) NOT NULL, 154 PRIMARY KEY (`Id`) 155 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; 135 156 136 157 -- … … 138 159 -- 139 160 140 INSERT INTO `Emulator` (`Id`, `Name`, `ClientVersion`, `Revision`) VALUES 141 (1, 'MaNGOS', 6, 7681); 161 INSERT INTO `Emulator` (`Id`, `Name`, `ClientVersion`, `Revision`, `CommitHash`, `ScriptDev2PatchFileName`, `ScriptDev2Revision`) VALUES 162 (1, 'MaNGOS', 6, 7681, '1620b99f8c2d62d582011e757eb4dcf469f036ad', 'MaNGOS-7356-ScriptDev2.patch', 1012); 163 164 -- -------------------------------------------------------- 165 166 -- 167 -- Struktura tabulky `Log` 168 -- 169 170 CREATE TABLE IF NOT EXISTS `Log` ( 171 `Time` datetime NOT NULL default '0000-00-00 00:00:00', 172 `User` int(11) NOT NULL default '0', 173 `Module` varchar(64) character set utf8 NOT NULL, 174 `Operation` varchar(255) character set utf8 NOT NULL, 175 `Value` varchar(255) character set utf8 NOT NULL, 176 KEY `Time` (`Time`) 177 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci; 178 179 142 180 143 181 -- -------------------------------------------------------- … … 155 193 `Database` int(11) NOT NULL, 156 194 `Motd` varchar(255) NOT NULL, 157 PRIMARY KEY (`Id`) 158 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; 195 `Description` text NOT NULL, 196 `Type` int(11) NOT NULL, 197 `Homepage` varchar(255) NOT NULL, 198 PRIMARY KEY (`Id`) 199 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ; 159 200 160 201 -- … … 162 203 -- 163 204 164 INSERT INTO `Server` (`Id`, `Name`, `NetworkPortRealmd`, `NetworkPortWorldd`, `User`, `Database`, `Motd`) VALUES 165 (1, 'Test', 3127, 8085, 2, 1, ''); 205 INSERT INTO `Server` (`Id`, `Name`, `NetworkPortRealmd`, `NetworkPortWorldd`, `User`, `Database`, `Motd`, `Description`, `Type`, `Homepage`) VALUES 206 (1, 'Test 1', 3724, 8085, 2, 1, 'Vítejte na free WoW serveru', '', 0, ''); 207 166 208 167 209 -- -------------------------------------------------------- … … 178 220 `Server` int(11) NOT NULL, 179 221 `Executed` int(11) NOT NULL, 180 PRIMARY KEY (`Id`) 181 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 182 183 -- 184 -- Vypisuji data pro tabulku `Task` 185 -- 222 `Output` text NOT NULL, 223 PRIMARY KEY (`Id`) 224 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ; 186 225 187 226 … … 202 241 `RegistrationTime` datetime NOT NULL, 203 242 `Locked` int(11) NOT NULL, 204 PRIMARY KEY (`Id`) 205 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; 243 `Role` int(11) NOT NULL, 244 PRIMARY KEY (`Id`) 245 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; 206 246 207 247 -- … … 209 249 -- 210 250 211 INSERT INTO `User` (`Id`, `Name`, `Login`, `Password`, `Email`, `LastIpAddress`, `LastLoginTime`, `RegistrationTime`, `Locked`) VALUES 212 (1, 'Anonym', 'anonymous', '711a5c2497eca9d90a9cb92c188c7f4b8a7bf672', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0), 213 (2, 'Administrátor', 'admin', 'd033e22ae348aeb5660fc2140aec35850c4da997', 'root@localhost', '192.168.0.3', '2009-06-08 20:56:51', '0000-00-00 00:00:00', 0); 251 INSERT INTO `User` (`Id`, `Name`, `Login`, `Password`, `Email`, `LastIpAddress`, `LastLoginTime`, `RegistrationTime`, `Locked`, `Role`) VALUES 252 (1, 'Anonym', 'anonymous', '711a5c2497eca9d90a9cb92c188c7f4b8a7bf672', '', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, 1), 253 (2, 'Administrátor', 'admin', 'd033e22ae348aeb5660fc2140aec35850c4da997', 'root@localhost', '192.168.0.3', '2009-06-09 17:19:59', '0000-00-00 00:00:00', 0, 3), 254 (3, 'Uživatel', 'User', '8be3c943b1609fffbfc51aad666d0a04adf83c9d', 'user@localhost', '192.168.0.3', '2009-06-09 10:48:24', '0000-00-00 00:00:00', 0, 2); 255 214 256 215 257 -- -------------------------------------------------------- … … 230 272 PRIMARY KEY (`Id`), 231 273 KEY `User` (`User`) 232 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT= 3;233 234 274 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; 275 276
Note:
See TracChangeset
for help on using the changeset viewer.