- Timestamp:
- Feb 6, 2009, 4:55:48 PM (16 years ago)
- Location:
- trunk/sql
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sql/structure.sql
r70 r71 39 39 KEY `Take` (`Take`), 40 40 KEY `Complete` (`Complete`) 41 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12081 ; 42 43 -- -------------------------------------------------------- 44 45 -- 46 -- Struktura tabulky `client_vote` 47 -- 48 49 CREATE TABLE IF NOT EXISTS `client_vote` ( 50 `ID` int(11) NOT NULL auto_increment, 51 `IDclient` int(11) NOT NULL, 52 `IDuser` int(11) NOT NULL, 53 `vote` int(11) NOT NULL, 54 PRIMARY KEY (`ID`), 55 KEY `IDuser` (`IDuser`), 56 KEY `IDclient` (`IDclient`) 57 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=85 ; 41 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12080 ; 58 42 59 43 -- -------------------------------------------------------- … … 82 66 KEY `Language` (`Language`) 83 67 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=26294 ; 84 85 -- --------------------------------------------------------86 87 --88 -- Struktura tabulky `creature_vote`89 --90 91 CREATE TABLE IF NOT EXISTS `creature_vote` (92 `ID` int(11) NOT NULL auto_increment,93 `TextId` int(11) NOT NULL,94 `IDuser` int(11) NOT NULL,95 `vote` int(11) NOT NULL,96 PRIMARY KEY (`ID`),97 KEY `IDquest` (`TextId`),98 KEY `IDuser` (`IDuser`)99 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;100 68 101 69 -- -------------------------------------------------------- … … 143 111 144 112 -- 145 -- Struktura tabulky `gameobject_vote` 146 -- 147 148 CREATE TABLE IF NOT EXISTS `gameobject_vote` ( 149 `ID` int(11) NOT NULL auto_increment, 150 `TextId` int(11) NOT NULL, 151 `IDuser` int(11) NOT NULL, 152 `vote` int(11) NOT NULL, 153 PRIMARY KEY (`ID`), 154 KEY `IDquest` (`TextId`), 155 KEY `IDuser` (`IDuser`) 156 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 113 -- Struktura tabulky `gametips` 114 -- 115 116 CREATE TABLE IF NOT EXISTS `gametips` ( 117 `ID` int(11) unsigned NOT NULL auto_increment, 118 `entry` int(11) NOT NULL, 119 `Text` text NOT NULL, 120 `Language` int(11) NOT NULL default '0', 121 `Vote` float NOT NULL, 122 `CountVote` int(11) NOT NULL, 123 `User` int(11) NOT NULL, 124 `Complete` int(11) NOT NULL, 125 `Take` int(11) NOT NULL, 126 `admin_check` int(11) NOT NULL default '0', 127 PRIMARY KEY (`ID`), 128 KEY `entry` (`entry`), 129 KEY `User` (`User`), 130 KEY `Take` (`Take`), 131 KEY `Language` (`Language`), 132 KEY `Complete` (`Complete`) 133 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=132 ; 157 134 158 135 -- -------------------------------------------------------- … … 169 146 `MangosTable` varchar(255) collate utf8_czech_ci NOT NULL, 170 147 `MangosTableIndex` varchar(255) collate utf8_czech_ci NOT NULL, 148 `DBCFileName` varchar(255) collate utf8_czech_ci NOT NULL, 149 `DBCColumns` text collate utf8_czech_ci NOT NULL, 171 150 PRIMARY KEY (`Id`) 172 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 2;151 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=14 ; 173 152 174 153 -- -------------------------------------------------------- … … 185 164 `MangosColumn` varchar(255) collate utf8_czech_ci NOT NULL, 186 165 `AddonFileName` varchar(255) collate utf8_czech_ci NOT NULL, 166 `DBCColumnIndex` int(11) NOT NULL, 187 167 PRIMARY KEY (`Id`) 188 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=4 2;168 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=47 ; 189 169 190 170 -- -------------------------------------------------------- … … 213 193 KEY `Language` (`Language`) 214 194 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=31370 ; 215 216 -- --------------------------------------------------------217 218 --219 -- Struktura tabulky `item_vote`220 --221 222 CREATE TABLE IF NOT EXISTS `item_vote` (223 `ID` int(11) NOT NULL auto_increment,224 `TextId` int(11) NOT NULL,225 `IDuser` int(11) NOT NULL,226 `vote` int(11) NOT NULL,227 PRIMARY KEY (`ID`),228 KEY `IDquest` (`TextId`),229 KEY `IDuser` (`IDuser`)230 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;231 195 232 196 -- -------------------------------------------------------- … … 245 209 PRIMARY KEY (`ID`), 246 210 KEY `user` (`user`) 247 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 875 ;211 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=12925 ; 248 212 249 213 -- -------------------------------------------------------- … … 275 239 276 240 -- 277 -- Struktura tabulky `mangos_command_vote`278 --279 280 CREATE TABLE IF NOT EXISTS `mangos_command_vote` (281 `ID` int(11) NOT NULL auto_increment,282 `TextId` int(11) NOT NULL,283 `IDuser` int(11) NOT NULL,284 `vote` int(11) NOT NULL,285 PRIMARY KEY (`ID`),286 KEY `IDquest` (`TextId`),287 KEY `IDuser` (`IDuser`)288 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;289 290 -- --------------------------------------------------------291 292 --293 241 -- Struktura tabulky `mangos_string` 294 242 -- … … 316 264 317 265 -- 318 -- Struktura tabulky `mangos_string_vote` 319 -- 320 321 CREATE TABLE IF NOT EXISTS `mangos_string_vote` ( 322 `ID` int(11) NOT NULL auto_increment, 323 `TextId` int(11) NOT NULL, 324 `IDuser` int(11) NOT NULL, 325 `vote` int(11) NOT NULL, 326 PRIMARY KEY (`ID`), 327 KEY `IDquest` (`TextId`), 328 KEY `IDuser` (`IDuser`) 329 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 266 -- Struktura tabulky `news` 267 -- 268 269 CREATE TABLE IF NOT EXISTS `news` ( 270 `Id` int(11) NOT NULL auto_increment, 271 `Time` datetime NOT NULL, 272 `User` int(11) NOT NULL, 273 `Text` text NOT NULL, 274 PRIMARY KEY (`Id`) 275 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; 330 276 331 277 -- -------------------------------------------------------- … … 372 318 373 319 -- 374 -- Struktura tabulky `npc_vote`375 --376 377 CREATE TABLE IF NOT EXISTS `npc_vote` (378 `ID` int(11) NOT NULL auto_increment,379 `IDnpc` int(11) NOT NULL,380 `IDuser` int(11) NOT NULL,381 `vote` int(11) NOT NULL,382 PRIMARY KEY (`ID`),383 KEY `IDuser` (`IDuser`),384 KEY `IDquest` (`IDnpc`)385 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=744 ;386 387 -- --------------------------------------------------------388 389 --390 320 -- Struktura tabulky `page` 391 321 -- … … 409 339 KEY `Language` (`Language`) 410 340 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System' AUTO_INCREMENT=1737 ; 411 412 -- --------------------------------------------------------413 414 --415 -- Struktura tabulky `page_vote`416 --417 418 CREATE TABLE IF NOT EXISTS `page_vote` (419 `ID` int(11) NOT NULL auto_increment,420 `IDpage` int(11) NOT NULL,421 `IDuser` int(11) NOT NULL,422 `vote` int(11) NOT NULL,423 PRIMARY KEY (`ID`),424 KEY `IDuser` (`IDpage`),425 KEY `IDquest` (`IDpage`)426 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=417 ;427 341 428 342 -- -------------------------------------------------------- … … 462 376 463 377 -- 464 -- Struktura tabulky `quests_status`465 --466 467 CREATE TABLE IF NOT EXISTS `quests_status` (468 `ID` int(11) NOT NULL auto_increment,469 `QuestEntry` int(11) NOT NULL,470 `CountQuest` int(11) NOT NULL,471 `State` int(11) NOT NULL,472 PRIMARY KEY (`ID`)473 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;474 475 -- --------------------------------------------------------476 477 --478 -- Struktura tabulky `quests_vote`479 --480 481 CREATE TABLE IF NOT EXISTS `quests_vote` (482 `ID` int(11) NOT NULL auto_increment,483 `TextId` int(11) NOT NULL,484 `IDuser` int(11) NOT NULL,485 `vote` int(11) NOT NULL,486 PRIMARY KEY (`ID`),487 KEY `IDquest` (`TextId`),488 KEY `IDuser` (`IDuser`)489 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3278 ;490 491 -- --------------------------------------------------------492 493 --494 378 -- Struktura tabulky `sd2_eventai_texts` 495 379 -- … … 518 402 519 403 -- 520 -- Struktura tabulky `sd2_eventai_texts_vote`521 --522 523 CREATE TABLE IF NOT EXISTS `sd2_eventai_texts_vote` (524 `ID` int(11) NOT NULL auto_increment,525 `TextId` int(11) NOT NULL,526 `IDuser` int(11) NOT NULL,527 `vote` int(11) NOT NULL,528 PRIMARY KEY (`ID`),529 KEY `IDquest` (`TextId`),530 KEY `IDuser` (`IDuser`)531 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;532 533 -- --------------------------------------------------------534 535 --536 404 -- Struktura tabulky `sd2_script_texts` 537 405 -- … … 556 424 KEY `Language` (`Language`) 557 425 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1088 ; 558 559 -- --------------------------------------------------------560 561 --562 -- Struktura tabulky `sd2_script_texts_vote`563 --564 565 CREATE TABLE IF NOT EXISTS `sd2_script_texts_vote` (566 `ID` int(11) NOT NULL auto_increment,567 `TextId` int(11) NOT NULL,568 `IDuser` int(11) NOT NULL,569 `vote` int(11) NOT NULL,570 PRIMARY KEY (`ID`),571 KEY `IDquest` (`TextId`),572 KEY `IDuser` (`IDuser`)573 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;574 426 575 427 -- -------------------------------------------------------- … … 586 438 `IP` text character set latin2 collate latin2_czech_cs NOT NULL, 587 439 PRIMARY KEY (`ID`) 588 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=449 ; 440 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=451 ; 441 442 -- -------------------------------------------------------- 443 444 -- 445 -- Struktura tabulky `spell` 446 -- 447 448 CREATE TABLE IF NOT EXISTS `spell` ( 449 `ID` int(11) unsigned NOT NULL auto_increment, 450 `entry` int(11) NOT NULL, 451 `Name` text NOT NULL, 452 `Rank` text NOT NULL, 453 `ToolTip` text NOT NULL, 454 `Description` text NOT NULL, 455 `Language` int(11) NOT NULL default '0', 456 `Vote` float NOT NULL, 457 `CountVote` int(11) NOT NULL, 458 `User` int(11) NOT NULL, 459 `Complete` int(11) NOT NULL, 460 `Take` int(11) NOT NULL, 461 `admin_check` int(11) NOT NULL default '0', 462 PRIMARY KEY (`ID`), 463 KEY `entry` (`entry`), 464 KEY `User` (`User`), 465 KEY `Take` (`Take`), 466 KEY `Language` (`Language`), 467 KEY `Complete` (`Complete`) 468 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=42088 ; 589 469 590 470 -- -------------------------------------------------------- … … 618 498 `Email` text character set latin2 collate latin2_czech_cs NOT NULL, 619 499 `Language` int(11) NOT NULL default '1', 620 `ExportSetting` text NOT NULL,500 `ExportSetting` text character set utf8 NOT NULL, 621 501 PRIMARY KEY (`ID`) 622 ) ENGINE=MyISAM DEFAULT CHARSET= latin1 AUTO_INCREMENT=549;502 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=550 ;
Note:
See TracChangeset
for help on using the changeset viewer.