Changeset 5 for trunk/www/sql/full.sql
- Timestamp:
- Jun 9, 2009, 10:39:27 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/sql/full.sql
r2 r5 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Sobota 06. června 2009, 22:346 -- Vygenerováno: Úterý 09. června 2009, 09:32 7 7 -- Verze MySQL: 5.0.77 8 8 -- Verze PHP: 5.2.9 … … 82 82 `ACIDRevision` int(11) NOT NULL, 83 83 `SourceFileName` varchar(255) NOT NULL, 84 `Emulator` int(11) NOT NULL, 85 PRIMARY KEY (`Id`) 86 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; 87 88 -- 89 -- Vypisuji data pro tabulku `Database` 90 -- 91 92 INSERT INTO `Database` (`Id`, `Name`, `Version`, `Revision`, `ScriptDev2Revision`, `ACIDRevision`, `SourceFileName`, `Emulator`) VALUES 93 (1, 'UDB', '0.11.5', 380, 1012, 0, 'UDB_0.11.5_Core_7681_SD2_1012.sql', 1); 94 95 -- -------------------------------------------------------- 96 97 -- 98 -- Struktura tabulky `Debug` 99 -- 100 101 CREATE TABLE IF NOT EXISTS `Debug` ( 102 `Id` int(11) NOT NULL auto_increment, 103 `Time` datetime NOT NULL, 104 `Server` int(11) NOT NULL, 105 `Backtrace` mediumtext NOT NULL, 106 `Log` text NOT NULL, 107 `MangosVersion` varchar(255) NOT NULL, 108 `DbVersion` varchar(255) NOT NULL, 109 `MaxPlayerCount` int(11) NOT NULL, 110 `Uptime` int(11) NOT NULL, 111 `ErrorLog` text NOT NULL, 112 `DbErrors` text NOT NULL, 113 `Configuration` text NOT NULL, 84 114 PRIMARY KEY (`Id`) 85 115 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 86 116 87 117 -- 88 -- Vypisuji data pro tabulku `D atabase`118 -- Vypisuji data pro tabulku `Debug` 89 119 -- 90 120 … … 99 129 `Id` int(11) NOT NULL auto_increment, 100 130 `Name` varchar(255) NOT NULL, 101 `Emulator` int(11) NOT NULL, 131 `ClientVersion` int(11) NOT NULL, 132 `Revision` int(11) NOT NULL, 133 PRIMARY KEY (`Id`) 134 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; 135 136 -- 137 -- Vypisuji data pro tabulku `Emulator` 138 -- 139 140 INSERT INTO `Emulator` (`Id`, `Name`, `ClientVersion`, `Revision`) VALUES 141 (1, 'MaNGOS', 6, 7681); 142 143 -- -------------------------------------------------------- 144 145 -- 146 -- Struktura tabulky `Server` 147 -- 148 149 CREATE TABLE IF NOT EXISTS `Server` ( 150 `Id` int(11) NOT NULL auto_increment, 151 `Name` varchar(255) NOT NULL, 152 `NetworkPortRealmd` int(11) NOT NULL, 153 `NetworkPortWorldd` int(11) NOT NULL, 154 `User` int(11) NOT NULL, 102 155 `Database` int(11) NOT NULL, 103 `ClientVersion` int(11) NOT NULL, 104 `User` int(11) NOT NULL, 156 `Motd` varchar(255) NOT NULL, 157 PRIMARY KEY (`Id`) 158 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; 159 160 -- 161 -- Vypisuji data pro tabulku `Server` 162 -- 163 164 INSERT INTO `Server` (`Id`, `Name`, `NetworkPortRealmd`, `NetworkPortWorldd`, `User`, `Database`, `Motd`) VALUES 165 (1, 'Test', 3127, 8085, 2, 1, ''); 166 167 -- -------------------------------------------------------- 168 169 -- 170 -- Struktura tabulky `Task` 171 -- 172 173 CREATE TABLE IF NOT EXISTS `Task` ( 174 `Id` int(11) NOT NULL auto_increment, 175 `Time` datetime NOT NULL, 176 `Title` varchar(255) NOT NULL, 177 `CommandList` text NOT NULL, 178 `Server` int(11) NOT NULL, 179 `Executed` int(11) NOT NULL, 105 180 PRIMARY KEY (`Id`) 106 181 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 107 182 108 183 -- 109 -- Vypisuji data pro tabulku `Emulator` 110 -- 111 112 113 -- -------------------------------------------------------- 114 115 -- 116 -- Struktura tabulky `Server` 117 -- 118 119 CREATE TABLE IF NOT EXISTS `Server` ( 120 `Id` int(11) NOT NULL auto_increment, 121 `Name` varchar(255) NOT NULL, 122 `Port` int(11) NOT NULL, 123 `User` int(11) NOT NULL, 124 `MangosVersion` int(11) NOT NULL, 125 PRIMARY KEY (`Id`) 126 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 127 128 -- 129 -- Vypisuji data pro tabulku `Server` 184 -- Vypisuji data pro tabulku `Task` 130 185 -- 131 186 … … 140 195 `Id` int(11) NOT NULL auto_increment, 141 196 `Name` varchar(255) NOT NULL, 197 `Login` varchar(255) NOT NULL, 142 198 `Password` varchar(255) NOT NULL, 143 199 `Email` varchar(255) NOT NULL, 144 PRIMARY KEY (`Id`) 145 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 200 `LastIpAddress` varchar(16) NOT NULL, 201 `LastLoginTime` datetime NOT NULL, 202 `RegistrationTime` datetime NOT NULL, 203 `Locked` int(11) NOT NULL, 204 PRIMARY KEY (`Id`) 205 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; 146 206 147 207 -- … … 149 209 -- 150 210 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); 214 215 -- -------------------------------------------------------- 216 217 -- 218 -- Struktura tabulky `UserOnline` 219 -- 220 221 CREATE TABLE IF NOT EXISTS `UserOnline` ( 222 `Id` int(11) NOT NULL auto_increment, 223 `User` int(11) NOT NULL default '0', 224 `ActivityTime` datetime NOT NULL default '0000-00-00 00:00:00', 225 `LoginTime` datetime NOT NULL default '0000-00-00 00:00:00', 226 `SessionId` varchar(255) character set utf8 collate utf8_czech_ci NOT NULL default '', 227 `IpAddress` varchar(16) character set utf8 collate utf8_czech_ci NOT NULL default '', 228 `HostName` varchar(255) character set utf8 collate utf8_czech_ci NOT NULL default '', 229 `ScriptName` varchar(255) character set utf8 collate utf8_czech_ci NOT NULL, 230 PRIMARY KEY (`Id`), 231 KEY `User` (`User`) 232 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; 233 234
Note:
See TracChangeset
for help on using the changeset viewer.