Changeset 57 for trunk/sql/full.sql


Ignore:
Timestamp:
Feb 3, 2009, 7:54:37 AM (16 years ago)
Author:
george
Message:
  • Upraveno: Stránka statistika rozdělena na stránky Stav dokončení a Seznam uživatelů.
  • Přidáno: Stránkování seznamu uživatelů.
  • Opraveno: Přidány indexy do tabulek překladů pro sloupce Complete a Language. Díky tomu se výrazně zrychlilo zobrazení seznamu uživatelů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sql/full.sql

    r55 r57  
    1 -- phpMyAdmin SQL Dump
    2 -- version 3.1.2
    3 -- http://www.phpmyadmin.net
    4 --
    5 -- Počítač: localhost
    6 -- Vygenerováno: Pondělí 02. února 2009, 19:54
    7 -- Verze MySQL: 5.0.67
    8 -- Verze PHP: 5.2.6
    9 
    10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    11 
    12 --
    13 -- Databáze: `wowpreklad_1`
    14 --
    15 
    161-- --------------------------------------------------------
    172
     
    5338  KEY `Language` (`Language`),
    5439  KEY `User` (`User`),
    55   KEY `Take` (`Take`)
     40  KEY `Take` (`Take`),
     41  KEY `Complete` (`Complete`)
    5642) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=12081 ;
    5743
     
    9379  KEY `entry` (`entry`),
    9480  KEY `User` (`User`),
    95   KEY `Take` (`Take`)
     81  KEY `Take` (`Take`),
     82  KEY `Complete` (`Complete`),
     83  KEY `Language` (`Language`)
    9684) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=26294 ;
    9785
     
    148136  KEY `entry` (`entry`),
    149137  KEY `User` (`User`),
    150   KEY `Take` (`Take`)
     138  KEY `Take` (`Take`),
     139  KEY `Complete` (`Complete`),
     140  KEY `Language` (`Language`)
    151141) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=17823 ;
    152142
     
    177167  `Name` varchar(255) collate utf8_czech_ci NOT NULL,
    178168  `TablePrefix` varchar(255) collate utf8_czech_ci NOT NULL,
     169  `MangosDatabase` varchar(255) collate utf8_czech_ci NOT NULL,
    179170  `MangosTable` varchar(255) collate utf8_czech_ci NOT NULL,
    180171  `MangosTableIndex` varchar(255) collate utf8_czech_ci NOT NULL,
    181172  PRIMARY KEY  (`Id`)
    182 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=10 ;
     173) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=12 ;
    183174
    184175-- --------------------------------------------------------
     
    195186  `MangosColumn` varchar(255) collate utf8_czech_ci NOT NULL,
    196187  PRIMARY KEY  (`Id`)
    197 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=38 ;
     188) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=42 ;
    198189
    199190-- --------------------------------------------------------
     
    218209  KEY `entry` (`entry`),
    219210  KEY `User` (`User`),
    220   KEY `Take` (`Take`)
     211  KEY `Take` (`Take`),
     212  KEY `Complete` (`Complete`),
     213  KEY `Language` (`Language`)
    221214) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=31370 ;
    222215
     
    252245  PRIMARY KEY  (`ID`),
    253246  KEY `user` (`user`)
    254 ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=12739 ;
     247) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=12741 ;
    255248
    256249-- --------------------------------------------------------
     
    274267  KEY `entry` (`entry`),
    275268  KEY `User` (`User`),
    276   KEY `Take` (`Take`)
     269  KEY `Take` (`Take`),
     270  KEY `Complete` (`Complete`),
     271  KEY `Language` (`Language`)
    277272) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
    278273
     
    313308  KEY `entry` (`entry`),
    314309  KEY `User` (`User`),
    315   KEY `Take` (`Take`)
     310  KEY `Take` (`Take`),
     311  KEY `Complete` (`Complete`),
     312  KEY `Language` (`Language`)
    316313) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=680 ;
    317314
     
    367364  KEY `entry` (`entry`),
    368365  KEY `User` (`User`),
    369   KEY `Take` (`Take`)
     366  KEY `Take` (`Take`),
     367  KEY `Complete` (`Complete`),
     368  KEY `Language` (`Language`)
    370369) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=16779063 ;
    371370
     
    406405  KEY `entry` (`entry`),
    407406  KEY `User` (`User`),
    408   KEY `Take` (`Take`)
     407  KEY `Take` (`Take`),
     408  KEY `Complete` (`Complete`),
     409  KEY `Language` (`Language`)
    409410) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='Item System' AUTO_INCREMENT=1737 ;
    410411
     
    453454  PRIMARY KEY  (`ID`),
    454455  KEY `entry` (`entry`),
    455   KEY `User` (`User`)
     456  KEY `User` (`User`),
     457  KEY `Complete` (`Complete`),
     458  KEY `Language` (`Language`)
    456459) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=10696 ;
    457460
     
    485488  KEY `IDuser` (`IDuser`)
    486489) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3278 ;
     490
     491-- --------------------------------------------------------
     492
     493--
     494-- Struktura tabulky `sd2_eventai_texts`
     495--
     496
     497CREATE TABLE IF NOT EXISTS `sd2_eventai_texts` (
     498  `ID` int(11) unsigned NOT NULL auto_increment,
     499  `entry` int(11) NOT NULL,
     500  `content_default` text NOT NULL,
     501  `comment` text NOT NULL,
     502  `Language` int(11) NOT NULL default '0',
     503  `Vote` float NOT NULL,
     504  `CountVote` int(11) NOT NULL,
     505  `User` int(11) NOT NULL,
     506  `Complete` int(11) NOT NULL,
     507  `Take` int(11) NOT NULL,
     508  `admin_check` int(11) NOT NULL default '0',
     509  PRIMARY KEY  (`ID`),
     510  KEY `entry` (`entry`),
     511  KEY `User` (`User`),
     512  KEY `Take` (`Take`),
     513  KEY `Complete` (`Complete`),
     514  KEY `Language` (`Language`)
     515) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=380 ;
     516
     517-- --------------------------------------------------------
     518
     519--
     520-- Struktura tabulky `sd2_eventai_texts_vote`
     521--
     522
     523CREATE 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-- Struktura tabulky `sd2_script_texts`
     537--
     538
     539CREATE TABLE IF NOT EXISTS `sd2_script_texts` (
     540  `ID` int(11) unsigned NOT NULL auto_increment,
     541  `entry` int(11) NOT NULL,
     542  `content_default` text NOT NULL,
     543  `comment` text NOT NULL,
     544  `Language` int(11) NOT NULL default '0',
     545  `Vote` float NOT NULL,
     546  `CountVote` int(11) NOT NULL,
     547  `User` int(11) NOT NULL,
     548  `Complete` int(11) NOT NULL,
     549  `Take` int(11) NOT NULL,
     550  `admin_check` int(11) NOT NULL default '0',
     551  PRIMARY KEY  (`ID`),
     552  KEY `entry` (`entry`),
     553  KEY `User` (`User`),
     554  KEY `Take` (`Take`),
     555  KEY `Complete` (`Complete`),
     556  KEY `Language` (`Language`)
     557) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1088 ;
     558
     559-- --------------------------------------------------------
     560
     561--
     562-- Struktura tabulky `sd2_script_texts_vote`
     563--
     564
     565CREATE 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 ;
    487574
    488575-- --------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.