
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

-- Choose the database used here
USE l10n;

--
-- Table structure for table `l10n_dictionary`
--

DROP TABLE IF EXISTS `l10n_dictionary`;
CREATE TABLE `l10n_dictionary` (
  `mode` varchar(5) collate utf8_unicode_ci NOT NULL,
  `revision` varchar(16) collate utf8_unicode_ci NOT NULL,
  `teamcode` varchar(11) collate utf8_unicode_ci NOT NULL,
  `package` varchar(50) collate utf8_unicode_ci NOT NULL,
  `filename` varchar(120) collate utf8_unicode_ci NOT NULL,
  `msgid` varchar(6000) collate utf8_unicode_ci NOT NULL,
  `msgstr` varchar(6000) collate utf8_unicode_ci NOT NULL,
  `msgctxt` varchar(6000) collate utf8_unicode_ci NOT NULL,
  KEY `mode` (`mode`),
  KEY `revision` (`revision`),
  KEY `teamcode` (`teamcode`),
  KEY `package` (`package`),
  KEY `filename` (`filename`),
  KEY `msgid` (`msgid`(333)),
  KEY `msgstr` (`msgstr`(333))
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Table structure for table `l10n_doccfgessential`
--

DROP TABLE IF EXISTS `l10n_doccfgessential`;
CREATE TABLE `l10n_doccfgessential` (
  `type` enum('p','f') NOT NULL default 'f',
  `filename` char(100) NOT NULL default '',
  `percent` int(2) NOT NULL default '0',
  `rev` char(25) NOT NULL default '',
  PRIMARY KEY  (`filename`,`rev`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_doccfgpackage`
--

DROP TABLE IF EXISTS `l10n_doccfgpackage`;
CREATE TABLE `l10n_doccfgpackage` (
  `package` char(40) NOT NULL default '',
  PRIMARY KEY  (`package`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_docessential`
--

DROP TABLE IF EXISTS `l10n_docessential`;
CREATE TABLE `l10n_docessential` (
  `rev` char(25) NOT NULL default '',
  `sdate` date NOT NULL default '0000-00-00',
  `teamcode` char(11) NOT NULL default '',
  `filename` char(100) NOT NULL default '',
  `translated` int(4) NOT NULL default '0',
  `total` int(4) NOT NULL default '0',
  PRIMARY KEY  (`rev`,`sdate`,`teamcode`,`filename`),
  KEY `sdate` (`sdate`),
  KEY `teamcode` (`teamcode`),
  KEY `rev` (`rev`),
  KEY `filename` (`filename`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_docstats`
--

DROP TABLE IF EXISTS `l10n_docstats`;
CREATE TABLE `l10n_docstats` (
  `rev` char(25) NOT NULL default '',
  `teamcode` char(11) NOT NULL default '',
  `package` char(40) NOT NULL default '',
  `filename` char(100) NOT NULL default '',
  `translated` int(4) NOT NULL default '0',
  `fuzzy` int(4) NOT NULL default '0',
  `untranslated` int(4) NOT NULL default '0',
  `error` int(4) NOT NULL default '0',
  `have_po` tinyint(1) NOT NULL default '0',
  `have_pot` tinyint(1) NOT NULL default '0',
  `sdate` date NOT NULL default '0000-00-00',
  PRIMARY KEY  (`rev`,`teamcode`,`package`,`filename`,`sdate`),
  KEY `sdate_rev_teamcode` (`sdate`,`rev`,`teamcode`),
  KEY `rev` (`rev`),
  KEY `sdate` (`sdate`),
  KEY `filename` (`filename`),
  KEY `package` (`package`),
  KEY `teamcode` (`teamcode`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_guicfgessential`
--

DROP TABLE IF EXISTS `l10n_guicfgessential`;
CREATE TABLE `l10n_guicfgessential` (
  `type` enum('p','f') NOT NULL default 'f',
  `filename` char(100) NOT NULL default '',
  `percent` int(2) NOT NULL default '0',
  `rev` char(25) NOT NULL default '',
  PRIMARY KEY  (`filename`,`rev`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_guicfgpackage`
--

DROP TABLE IF EXISTS `l10n_guicfgpackage`;
CREATE TABLE `l10n_guicfgpackage` (
  `package` char(40) NOT NULL default '',
  PRIMARY KEY  (`package`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_guiessential`
--

DROP TABLE IF EXISTS `l10n_guiessential`;
CREATE TABLE `l10n_guiessential` (
  `rev` char(25) NOT NULL default '',
  `sdate` date NOT NULL default '0000-00-00',
  `teamcode` char(11) NOT NULL default '',
  `filename` char(100) NOT NULL default '',
  `translated` int(4) NOT NULL default '0',
  `total` int(4) NOT NULL default '0',
  PRIMARY KEY  (`rev`,`sdate`,`teamcode`,`filename`),
  KEY `sdate` (`sdate`),
  KEY `teamcode` (`teamcode`),
  KEY `rev` (`rev`),
  KEY `filename` (`filename`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_guistats`
--

DROP TABLE IF EXISTS `l10n_guistats`;
CREATE TABLE `l10n_guistats` (
  `rev` char(25) NOT NULL default '',
  `teamcode` char(11) NOT NULL default '',
  `package` char(40) NOT NULL default '',
  `filename` char(100) NOT NULL default '',
  `translated` int(4) NOT NULL default '0',
  `fuzzy` int(4) NOT NULL default '0',
  `untranslated` int(4) NOT NULL default '0',
  `error` int(4) NOT NULL default '0',
  `have_po` tinyint(1) NOT NULL default '0',
  `have_pot` tinyint(1) NOT NULL default '0',
  `sdate` date NOT NULL default '0000-00-00',
  PRIMARY KEY  (`rev`,`teamcode`,`package`,`filename`,`sdate`),
  KEY `teamcode` (`teamcode`),
  KEY `package` (`package`),
  KEY `rev` (`rev`),
  KEY `sdate` (`sdate`),
  KEY `filename` (`filename`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_revisions`
--

DROP TABLE IF EXISTS `l10n_revisions`;
CREATE TABLE `l10n_revisions` (
  `rev` char(25) NOT NULL default '',
  `status` tinyint(1) NOT NULL default '0',
  `main` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`rev`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `l10n_teams`
--

DROP TABLE IF EXISTS `l10n_teams`;
CREATE TABLE `l10n_teams` (
  `teamcode` char(11) NOT NULL default '',
  `teamname` char(80) NOT NULL default '',
  PRIMARY KEY  (`teamcode`),
  KEY `teamcode` (`teamcode`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2008-02-14  0:26:14
