Changeset 416 for trunk


Ignore:
Timestamp:
Apr 6, 2010, 6:57:01 AM (15 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace souboru s inicializaci SQL.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sql/structure.sql

    r376 r416  
    44--
    55-- Počítač: localhost
    6 -- Vygenerováno: Čtvrtek 11. března 2010, 08:27
    7 -- Verze MySQL: 5.1.42
     6-- Vygenerováno: Úterý 06. dubna 2010, 06:55
     7-- Verze MySQL: 5.1.44
    88-- Verze PHP: 5.3.1
    99
     
    6262  KEY `Version` (`Version`),
    6363  KEY `ReleaseDate` (`ReleaseDate`)
    64 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=81 ;
     64) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    6565
    6666-- --------------------------------------------------------
     
    7676  PRIMARY KEY (`Id`),
    7777  KEY `Group` (`Group`)
    78 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1502 ;
     78) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    7979
    8080-- --------------------------------------------------------
     
    9090  PRIMARY KEY (`Id`),
    9191  KEY `connexion` (`connexion`,`entry`)
    92 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7029 ;
     92) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    9393
    9494-- --------------------------------------------------------
     
    106106  PRIMARY KEY (`ID`),
    107107  KEY `user` (`User`)
    108 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=11 ;
     108) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
    109109
    110110-- --------------------------------------------------------
     
    125125  KEY `Entry` (`Entry`),
    126126  KEY `User` (`User`)
    127 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=413 ;
     127) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    128128
    129129-- --------------------------------------------------------
     
    146146  KEY `User` (`User`),
    147147  KEY `TimeCreate` (`TimeCreate`)
    148 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=58 ;
     148) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    149149
    150150-- --------------------------------------------------------
     
    160160  PRIMARY KEY (`Id`),
    161161  KEY `Export` (`Export`)
    162 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=580 ;
     162) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    163163
    164164-- --------------------------------------------------------
     
    174174  `Sequence` int(11) NOT NULL,
    175175  PRIMARY KEY (`Id`)
    176 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=44 ;
     176) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    177177
    178178-- --------------------------------------------------------
     
    186186  `Name` varchar(255) NOT NULL,
    187187  PRIMARY KEY (`Id`)
    188 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
     188) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    189189
    190190-- --------------------------------------------------------
     
    201201  PRIMARY KEY (`Id`),
    202202  KEY `Export` (`Export`)
    203 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
     203) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    204204
    205205-- --------------------------------------------------------
     
    217217  KEY `Export` (`Export`),
    218218  KEY `User` (`User`)
    219 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4280 ;
     219) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    220220
    221221-- --------------------------------------------------------
     
    232232  KEY `ExportType` (`ExportType`),
    233233  KEY `ClientVersion` (`ClientVersion`)
    234 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=50 ;
     234) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    235235
    236236-- --------------------------------------------------------
     
    244244  `Name` varchar(255) COLLATE utf8_czech_ci NOT NULL,
    245245  `TablePrefix` varchar(255) COLLATE utf8_czech_ci NOT NULL,
     246  `PrimaryKeyItem` varchar(255) COLLATE utf8_czech_ci NOT NULL DEFAULT 'Entry',
     247  `SourceType` enum('dbc','lua','sql') COLLATE utf8_czech_ci NOT NULL DEFAULT 'sql',
    246248  `MangosDatabase` varchar(255) COLLATE utf8_czech_ci NOT NULL,
    247249  `MangosTable` varchar(255) COLLATE utf8_czech_ci NOT NULL,
    248250  `MangosTableIndex` varchar(255) COLLATE utf8_czech_ci NOT NULL,
    249251  `DBCFileName` varchar(255) COLLATE utf8_czech_ci NOT NULL,
    250   `DBCColumns` text COLLATE utf8_czech_ci NOT NULL,
    251252  `WowheadName` varchar(255) COLLATE utf8_czech_ci NOT NULL,
    252253  `LuaFileName` varchar(255) COLLATE utf8_czech_ci NOT NULL,
     
    255256  `LastVersion` int(11) NOT NULL,
    256257  PRIMARY KEY (`Id`)
    257 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=23 ;
     258) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
    258259
    259260-- --------------------------------------------------------
     
    275276  KEY `Group` (`Group`),
    276277  KEY `Visible` (`Visible`)
    277 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=63 ;
     278) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
    278279
    279280-- --------------------------------------------------------
     
    289290  PRIMARY KEY (`Id`),
    290291  KEY `Enabled` (`Enabled`)
    291 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=4 ;
     292) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
    292293
    293294-- --------------------------------------------------------
     
    308309  KEY `type` (`Type`),
    309310  KEY `date` (`Date`)
    310 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=570788 ;
     311) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    311312
    312313-- --------------------------------------------------------
     
    322323  `Description` varchar(255) NOT NULL,
    323324  PRIMARY KEY (`Id`)
    324 ) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
     325) ENGINE=InnoDB  DEFAULT CHARSET=utf8;
    325326
    326327-- --------------------------------------------------------
     
    337338  PRIMARY KEY (`Id`),
    338339  KEY `Time` (`Time`)
    339 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=41 ;
     340) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    340341
    341342-- --------------------------------------------------------
     
    353354  PRIMARY KEY (`ID`),
    354355  KEY `date` (`Date`)
    355 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1087 ;
     356) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    356357
    357358-- --------------------------------------------------------
     
    371372  KEY `Leader` (`Leader`),
    372373  KEY `TimeCreate` (`TimeCreate`)
    373 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=38 ;
     374) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    374375
    375376-- --------------------------------------------------------
     
    399400  KEY `VersionStart` (`VersionStart`),
    400401  KEY `VersionEnd` (`VersionEnd`)
    401 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2767 ;
     402) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    402403
    403404-- --------------------------------------------------------
     
    425426  KEY `VersionStart` (`VersionStart`),
    426427  KEY `VersionEnd` (`VersionEnd`)
    427 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=205 ;
     428) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    428429
    429430-- --------------------------------------------------------
     
    451452  KEY `VersionStart` (`VersionStart`),
    452453  KEY `VersionEnd` (`VersionEnd`)
    453 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10589 ;
     454) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    454455
    455456-- --------------------------------------------------------
     
    477478  KEY `VersionStart` (`VersionStart`),
    478479  KEY `VersionEnd` (`VersionEnd`)
    479 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=210 ;
     480) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    480481
    481482-- --------------------------------------------------------
     
    503504  KEY `VersionStart` (`VersionStart`),
    504505  KEY `VersionEnd` (`VersionEnd`)
    505 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=454 ;
     506) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    506507
    507508-- --------------------------------------------------------
     
    530531  KEY `VersionStart` (`VersionStart`),
    531532  KEY `VersionEnd` (`VersionEnd`)
    532 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=58460 ;
     533) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    533534
    534535-- --------------------------------------------------------
     
    557558  KEY `VersionStart` (`VersionStart`),
    558559  KEY `VersionEnd` (`VersionEnd`)
    559 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=99412 ;
     560) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    560561
    561562-- --------------------------------------------------------
     
    583584  KEY `VersionStart` (`VersionStart`),
    584585  KEY `VersionEnd` (`VersionEnd`)
    585 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=416 ;
     586) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    586587
    587588-- --------------------------------------------------------
     
    612613  KEY `VersionStart` (`VersionStart`),
    613614  KEY `VersionEnd` (`VersionEnd`)
    614 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=26762 ;
    615 
    616 -- --------------------------------------------------------
    617 
    618 --
    619 -- Struktura tabulky `TextGlueString`
    620 --
    621 
    622 CREATE TABLE IF NOT EXISTS `TextGlueString` (
     615) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
     616
     617-- --------------------------------------------------------
     618
     619--
     620-- Struktura tabulky `TextGlueLocalization`
     621--
     622
     623CREATE TABLE IF NOT EXISTS `TextGlueLocalization` (
    623624  `ID` int(11) unsigned NOT NULL AUTO_INCREMENT,
    624625  `Entry` int(11) NOT NULL,
     
    641642  KEY `VersionStart` (`VersionStart`),
    642643  KEY `VersionEnd` (`VersionEnd`)
    643 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2098 ;
     644) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
     645
     646-- --------------------------------------------------------
     647
     648--
     649-- Struktura tabulky `TextGlueString`
     650--
     651
     652CREATE TABLE IF NOT EXISTS `TextGlueString` (
     653  `ID` int(11) unsigned NOT NULL AUTO_INCREMENT,
     654  `Entry` int(11) NOT NULL,
     655  `Language` int(11) NOT NULL DEFAULT '0',
     656  `User` int(11) NOT NULL,
     657  `Complete` int(11) NOT NULL,
     658  `Take` int(11) NOT NULL,
     659  `ShortCut` varchar(255) NOT NULL,
     660  `Text` text NOT NULL,
     661  `Comment` text NOT NULL,
     662  `VersionStart` int(11) NOT NULL DEFAULT '8606',
     663  `VersionEnd` int(11) NOT NULL DEFAULT '8606',
     664  PRIMARY KEY (`ID`),
     665  KEY `entry` (`Entry`),
     666  KEY `User` (`User`),
     667  KEY `Take` (`Take`),
     668  KEY `Language` (`Language`),
     669  KEY `Complete` (`Complete`),
     670  KEY `ShortCut` (`ShortCut`),
     671  KEY `VersionStart` (`VersionStart`),
     672  KEY `VersionEnd` (`VersionEnd`)
     673) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    644674
    645675-- --------------------------------------------------------
     
    668698  KEY `VersionStart` (`VersionStart`),
    669699  KEY `VersionEnd` (`VersionEnd`)
    670 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=70332 ;
     700) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    671701
    672702-- --------------------------------------------------------
     
    696726  KEY `VersionStart` (`VersionStart`),
    697727  KEY `VersionEnd` (`VersionEnd`)
    698 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=853 ;
     728) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    699729
    700730-- --------------------------------------------------------
     
    722752  KEY `VersionStart` (`VersionStart`),
    723753  KEY `VersionEnd` (`VersionEnd`)
    724 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2404 ;
     754) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    725755
    726756-- --------------------------------------------------------
     
    733763  `ID` int(11) unsigned NOT NULL AUTO_INCREMENT,
    734764  `Entry` int(11) NOT NULL,
    735   `Text0_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    736   `Text0_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    737   `Text1_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    738   `Text1_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    739   `Text2_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    740   `Text2_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    741   `Text3_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    742   `Text3_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    743   `Text4_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    744   `Text4_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    745   `Text5_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    746   `Text5_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    747   `Text6_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    748   `Text6_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    749   `Text7_0` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    750   `Text7_1` text CHARACTER SET latin2 COLLATE latin2_czech_cs,
    751   `Language` int(11) NOT NULL DEFAULT '0',
    752   `User` int(11) NOT NULL,
    753   `Complete` int(11) NOT NULL,
    754   `Take` int(11) NOT NULL,
    755   `VersionStart` int(11) NOT NULL DEFAULT '8606',
    756   `VersionEnd` int(11) NOT NULL DEFAULT '8606',
    757   PRIMARY KEY (`ID`),
    758   KEY `entry` (`Entry`),
    759   KEY `User` (`User`),
    760   KEY `Take` (`Take`),
    761   KEY `Complete` (`Complete`),
    762   KEY `Language` (`Language`),
    763   KEY `VersionStart` (`VersionStart`),
    764   KEY `VersionEnd` (`VersionEnd`)
    765 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=16781038 ;
     765  `Text0_0` text,
     766  `Text0_1` text,
     767  `Text1_0` text,
     768  `Text1_1` text,
     769  `Text2_0` text,
     770  `Text2_1` text,
     771  `Text3_0` text,
     772  `Text3_1` text,
     773  `Text4_0` text,
     774  `Text4_1` text,
     775  `Text5_0` text,
     776  `Text5_1` text,
     777  `Text6_0` text,
     778  `Text6_1` text,
     779  `Text7_0` text,
     780  `Text7_1` text,
     781  `Language` int(11) NOT NULL DEFAULT '0',
     782  `User` int(11) NOT NULL,
     783  `Complete` int(11) NOT NULL,
     784  `Take` int(11) NOT NULL,
     785  `VersionStart` int(11) NOT NULL DEFAULT '8606',
     786  `VersionEnd` int(11) NOT NULL DEFAULT '8606',
     787  PRIMARY KEY (`ID`),
     788  KEY `entry` (`Entry`),
     789  KEY `User` (`User`),
     790  KEY `Take` (`Take`),
     791  KEY `Complete` (`Complete`),
     792  KEY `Language` (`Language`),
     793  KEY `VersionStart` (`VersionStart`),
     794  KEY `VersionEnd` (`VersionEnd`)
     795) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    766796
    767797-- --------------------------------------------------------
     
    778808  `Complete` int(11) NOT NULL,
    779809  `Take` int(11) NOT NULL,
     810  `Index` varchar(255) NOT NULL,
    780811  `OptionText` text NOT NULL,
    781812  `VersionStart` int(11) NOT NULL DEFAULT '8606',
     
    789820  KEY `VersionStart` (`VersionStart`),
    790821  KEY `VersionEnd` (`VersionEnd`)
    791 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=129 ;
     822) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    792823
    793824-- --------------------------------------------------------
     
    815846  KEY `VersionStart` (`VersionStart`),
    816847  KEY `VersionEnd` (`VersionEnd`)
    817 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='Item System' AUTO_INCREMENT=2469 ;
     848) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='Item System';
    818849
    819850-- --------------------------------------------------------
     
    849880  KEY `VersionStart` (`VersionStart`),
    850881  KEY `VersionEnd` (`VersionEnd`)
    851 ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=14411 ;
     882) ENGINE=MyISAM  DEFAULT CHARSET=latin1;
    852883
    853884-- --------------------------------------------------------
     
    876907  KEY `VersionStart` (`VersionStart`),
    877908  KEY `VersionEnd` (`VersionEnd`)
    878 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=767 ;
     909) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    879910
    880911-- --------------------------------------------------------
     
    903934  KEY `VersionStart` (`VersionStart`),
    904935  KEY `VersionEnd` (`VersionEnd`)
    905 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1969 ;
     936) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    906937
    907938-- --------------------------------------------------------
     
    932963  KEY `VersionStart` (`VersionStart`),
    933964  KEY `VersionEnd` (`VersionEnd`)
    934 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=67832 ;
     965) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    935966
    936967-- --------------------------------------------------------
     
    958989  KEY `VersionStart` (`VersionStart`),
    959990  KEY `VersionEnd` (`VersionEnd`)
    960 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=43 ;
     991) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
    961992
    962993-- --------------------------------------------------------
     
    9861017  UNIQUE KEY `user` (`Name`),
    9871018  KEY `team` (`Team`)
    988 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=891 ;
     1019) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
Note: See TracChangeset for help on using the changeset viewer.