
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!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 */;

--
-- Database: `soft_todoyu230`
--

-- --------------------------------------------------------

--
-- Table structure for table `ext_assets_asset`
--

CREATE TABLE `ext_assets_asset` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `id_parent` int(10) unsigned NOT NULL DEFAULT '0',
  `parenttype` tinyint(1) NOT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT '0',
  `file_ext` varchar(10) NOT NULL,
  `file_storage` varchar(255) NOT NULL,
  `file_name` varchar(255) NOT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT '0',
  `file_mime` varchar(20) NOT NULL,
  `file_mime_sub` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `parent` (`id_parent`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_bookmark_bookmark`
--

CREATE TABLE `ext_bookmark_bookmark` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL,
  `type` tinyint(1) NOT NULL,
  `id_item` int(10) unsigned NOT NULL,
  `sorting` int(10) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `multi` (`id_person_create`,`id_item`,`type`,`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_calendar_event`
--

CREATE TABLE `ext_calendar_event` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `id_project` int(10) NOT NULL DEFAULT '0',
  `id_task` int(10) unsigned NOT NULL,
  `eventtype` tinyint(2) unsigned NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `description` text,
  `place` varchar(255) NOT NULL,
  `date_start` int(10) unsigned NOT NULL DEFAULT '0',
  `date_end` int(10) unsigned NOT NULL DEFAULT '0',
  `is_private` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `is_dayevent` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `id_series` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_calendar_holiday`
--

CREATE TABLE `ext_calendar_holiday` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `date` int(11) NOT NULL DEFAULT '0',
  `title` varchar(64) NOT NULL,
  `description` varchar(256) NOT NULL,
  `workingtime` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_calendar_holidayset`
--

CREATE TABLE `ext_calendar_holidayset` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL,
  `title` varchar(64) NOT NULL,
  `description` varchar(128) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_calendar_mm_event_person`
--

CREATE TABLE `ext_calendar_mm_event_person` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `id_event` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person` int(10) unsigned NOT NULL,
  `is_acknowledged` tinyint(2) NOT NULL DEFAULT '0',
  `is_updated` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `date_remindemail` int(10) unsigned NOT NULL DEFAULT '0',
  `is_remindemailsent` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `date_remindpopup` int(10) unsigned NOT NULL DEFAULT '0',
  `is_remindpopupdismissed` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `event` (`id_event`),
  KEY `person` (`id_person`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_calendar_mm_holiday_holidayset`
--

CREATE TABLE `ext_calendar_mm_holiday_holidayset` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `id_holiday` int(10) unsigned NOT NULL DEFAULT '0',
  `id_holidayset` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `holiday` (`id_holiday`),
  KEY `holidayset` (`id_holidayset`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_calendar_series`
--

CREATE TABLE `ext_calendar_series` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `frequency` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `interval` smallint(5) unsigned NOT NULL DEFAULT '0',
  `config` varchar(100) NOT NULL,
  `date_start` int(10) unsigned NOT NULL DEFAULT '0',
  `date_end` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_comment_comment`
--

CREATE TABLE `ext_comment_comment` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_update` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `id_task` mediumint(9) unsigned NOT NULL DEFAULT '0',
  `comment` mediumtext NOT NULL,
  `is_public` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `task` (`id_task`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_comment_fallback`
--

CREATE TABLE `ext_comment_fallback` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL,
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) unsigned NOT NULL,
  `title` varchar(255) NOT NULL DEFAULT '',
  `id_person_feedback` int(10) unsigned NOT NULL,
  `taskperson_feedback` varchar(10) NOT NULL,
  `id_role_feedback` int(10) unsigned NOT NULL,
  `id_person_email` int(10) unsigned NOT NULL,
  `taskperson_email` varchar(10) NOT NULL,
  `id_role_email` int(10) unsigned NOT NULL,
  `is_public` tinyint(1) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_comment_mm_comment_asset`
--

CREATE TABLE `ext_comment_mm_comment_asset` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL,
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `id_asset` int(10) unsigned NOT NULL,
  `id_comment` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_comment_mm_comment_feedback`
--

CREATE TABLE `ext_comment_mm_comment_feedback` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL,
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `id_person_feedback` int(10) unsigned NOT NULL,
  `id_comment` int(10) unsigned NOT NULL,
  `is_seen` tinyint(1) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `comment` (`id_comment`),
  KEY `personseen` (`id_person_feedback`,`is_seen`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_address`
--

CREATE TABLE `ext_contact_address` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(2) NOT NULL,
  `id_addresstype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `id_country` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `id_holidayset` int(11) NOT NULL DEFAULT '0',
  `id_timezone` smallint(3) NOT NULL DEFAULT '0',
  `street` varchar(255) NOT NULL,
  `postbox` varchar(32) NOT NULL,
  `city` varchar(64) NOT NULL,
  `region` varchar(64) NOT NULL,
  `zip` varchar(10) NOT NULL,
  `comment` varchar(255) NOT NULL,
  `is_preferred` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_company`
--

CREATE TABLE `ext_contact_company` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(2) NOT NULL DEFAULT '0',
  `title` tinytext NOT NULL,
  `shortname` tinytext NOT NULL,
  `date_enter` int(10) unsigned NOT NULL DEFAULT '0',
  `is_internal` tinyint(1) NOT NULL DEFAULT '0',
  `comment` text NOT NULL,
  `locale_correspondence` varchar(5) NOT NULL DEFAULT '',
  `is_notactive` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `ext_contact_company`
--

INSERT INTO `ext_contact_company` VALUES
(1, 1264696524, [[timestamp]], 1, 0, '[[site_name]]', '[[site_name]]', [[timestamp]], 1, '', '', 0);

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_contactinfo`
--

CREATE TABLE `ext_contact_contactinfo` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `id_contactinfotype` smallint(5) unsigned NOT NULL DEFAULT '0',
  `info` tinytext NOT NULL,
  `is_preferred` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_contactinfotype`
--

CREATE TABLE `ext_contact_contactinfotype` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(11) NOT NULL,
  `date_update` int(11) NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `category` smallint(5) unsigned NOT NULL,
  `key` varchar(32) NOT NULL,
  `title` varchar(64) NOT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ;

--
-- Dumping data for table `ext_contact_contactinfotype`
--

INSERT INTO `ext_contact_contactinfotype` VALUES
(1, 0, 0, 0, 0, 1, 'email_business', 'LLL:contact.ext.contactinfo.type.email_business', 1),
(2, 0, 0, 0, 0, 2, 'tel_private', 'LLL:contact.ext.contactinfo.type.tel_private', 0),
(3, 0, 0, 0, 0, 2, 'tel_exchange', 'LLL:contact.ext.contactinfo.type.tel_exchange', 1),
(4, 0, 0, 0, 0, 2, 'tel_business', 'LLL:contact.ext.contactinfo.type.tel_business', 1),
(5, 0, 0, 0, 0, 1, 'email_private', 'LLL:contact.ext.contactinfo.type.email_private', 0),
(6, 0, 0, 0, 0, 2, 'mobile_business', 'LLL:contact.ext.contactinfo.type.mobile_business', 1),
(7, 0, 0, 0, 0, 2, 'fax_private', 'LLL:contact.ext.contactinfo.type.fax_private', 0),
(8, 0, 0, 0, 0, 2, 'fax_business', 'LLL:contact.ext.contactinfo.type.fax_business', 1),
(9, 0, 0, 0, 0, 2, 'mobile_private', 'LLL:contact.ext.contactinfo.type.mobile_private', 0),
(10, 0, 0, 0, 0, 2, 'fax_exchange', 'LLL:contact.ext.contactinfo.type.fax_exchange', 1),
(11, 0, 0, 0, 0, 3, 'website', 'LLL:contact.ext.contactinfo.type.website', 1),
(12, 0, 0, 0, 0, 3, 'skype', 'LLL:contact.ext.contactinfo.type.skype', 0);

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_jobtype`
--

CREATE TABLE `ext_contact_jobtype` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(11) NOT NULL,
  `date_update` int(11) NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `title` varchar(64) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_mm_company_address`
--

CREATE TABLE `ext_contact_mm_company_address` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `id_company` int(10) unsigned NOT NULL DEFAULT '0',
  `id_address` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ref` (`id_company`,`id_address`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_mm_company_contactinfo`
--

CREATE TABLE `ext_contact_mm_company_contactinfo` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `id_company` int(10) unsigned NOT NULL DEFAULT '0',
  `id_contactinfo` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ref` (`id_company`,`id_contactinfo`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_mm_company_person`
--

CREATE TABLE `ext_contact_mm_company_person` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `id_company` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person` int(10) unsigned NOT NULL,
  `id_workaddress` int(10) unsigned NOT NULL,
  `id_jobtype` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ref` (`id_company`,`id_person`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `ext_contact_mm_company_person`
--

INSERT INTO `ext_contact_mm_company_person` VALUES
(1, 1, 1, 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_mm_person_address`
--

CREATE TABLE `ext_contact_mm_person_address` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_person` smallint(5) unsigned NOT NULL DEFAULT '0',
  `id_address` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ref` (`id_person`,`id_address`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_mm_person_contactinfo`
--

CREATE TABLE `ext_contact_mm_person_contactinfo` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `id_person` int(10) unsigned NOT NULL DEFAULT '0',
  `id_contactinfo` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `ref` (`id_person`,`id_contactinfo`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_mm_person_role`
--

CREATE TABLE `ext_contact_mm_person_role` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `id_person` int(10) unsigned NOT NULL DEFAULT '0',
  `id_role` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `ref` (`id_person`,`id_role`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_contact_person`
--

CREATE TABLE `ext_contact_person` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` smallint(5) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(2) NOT NULL DEFAULT '0',
  `username` varchar(100) NOT NULL,
  `password` varchar(40) NOT NULL,
  `email` varchar(100) NOT NULL,
  `id_smtpaccount` smallint(5) unsigned NOT NULL DEFAULT '0',
  `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  `is_dummy` tinyint(1) NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `firstname` varchar(64) NOT NULL,
  `lastname` varchar(64) NOT NULL,
  `shortname` varchar(11) NOT NULL,
  `salutation` varchar(1) NOT NULL,
  `title` varchar(64) NOT NULL,
  `birthday` date NOT NULL,
  `comment` text NOT NULL,
  `mail_signature` text NOT NULL,
  `locale_correspondence` varchar(5) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `ext_contact_person`
--

INSERT INTO `ext_contact_person` VALUES
(1, 1246615200, 1264780312, 0, 0, 'admin', '[[admin_pass]]', '[[admin_email]]', 0, 1, 0, 1, '[[admin_fname]]', '[[admin_lname]]', '[[shortName]]', 'm', '', '0000-00-00', '', '', '');

-- --------------------------------------------------------

--
-- Table structure for table `ext_project_activity`
--

CREATE TABLE `ext_project_activity` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(11) NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `title` varchar(64) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_project_mm_project_person`
--

CREATE TABLE `ext_project_mm_project_person` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `id_project` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person` int(10) unsigned NOT NULL,
  `id_role` int(10) unsigned NOT NULL,
  `comment` tinytext NOT NULL,
  `is_public` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `project` (`id_project`),
  KEY `person` (`id_person`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_project_project`
--

CREATE TABLE `ext_project_project` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `date_start` int(10) unsigned NOT NULL DEFAULT '0',
  `date_end` int(10) unsigned NOT NULL DEFAULT '0',
  `date_deadline` int(10) unsigned NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `id_company` int(10) unsigned NOT NULL DEFAULT '0',
  `id_taskpreset` int(10) unsigned NOT NULL DEFAULT '0',
  `ext_comment_fallback` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `status` (`deleted`,`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_project_role`
--

CREATE TABLE `ext_project_role` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) NOT NULL,
  `date_update` int(10) NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `title` varchar(64) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_project_task`
--

CREATE TABLE `ext_project_task` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(11) NOT NULL DEFAULT '0',
  `date_update` int(11) NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `type` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `id_project` int(10) unsigned NOT NULL DEFAULT '0',
  `id_parenttask` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL DEFAULT '',
  `description` text,
  `id_person_assigned` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_owner` int(10) unsigned NOT NULL DEFAULT '0',
  `date_deadline` int(10) unsigned NOT NULL DEFAULT '0',
  `date_start` int(10) unsigned NOT NULL DEFAULT '0',
  `date_end` int(10) unsigned NOT NULL DEFAULT '0',
  `tasknumber` smallint(6) NOT NULL DEFAULT '0',
  `status` tinyint(4) NOT NULL DEFAULT '0',
  `id_activity` smallint(6) NOT NULL DEFAULT '0',
  `estimated_workload` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `is_acknowledged` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_public` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `sorting` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `parenttask` (`id_parenttask`),
  KEY `project` (`id_project`),
  KEY `assigned_to` (`id_person_assigned`),
  KEY `multi` (`status`,`type`,`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_project_taskpreset`
--

CREATE TABLE `ext_project_taskpreset` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(11) NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `title` varchar(64) NOT NULL,
  `tasktitle` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `date_start` varchar(10) NOT NULL,
  `date_end` varchar(10) NOT NULL,
  `date_deadline` varchar(10) NOT NULL,
  `status` tinyint(4) NOT NULL,
  `id_activity` smallint(6) NOT NULL DEFAULT '0',
  `estimated_workload` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `is_public` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `quicktask_duration_days` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_assigned` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_owner` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_assigned_fallback` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_owner_fallback` int(10) unsigned NOT NULL DEFAULT '0',
  `id_role_assigned_fallback` int(10) unsigned NOT NULL DEFAULT '0',
  `id_role_owner_fallback` int(10) unsigned NOT NULL DEFAULT '0',
  `ext_timetracking_start_tracking` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `ext_timetracking_workload_done` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_search_filtercondition`
--

CREATE TABLE `ext_search_filtercondition` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(2) NOT NULL DEFAULT '0',
  `id_set` int(10) unsigned NOT NULL,
  `filter` varchar(64) NOT NULL,
  `value` varchar(100) NOT NULL,
  `is_negated` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `id_set` (`id_set`,`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_search_filterset`
--

CREATE TABLE `ext_search_filterset` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(2) NOT NULL DEFAULT '0',
  `sorting` int(10) unsigned NOT NULL,
  `is_hidden` tinyint(2) NOT NULL DEFAULT '0',
  `is_separator` tinyint(2) NOT NULL DEFAULT '0',
  `current` tinyint(2) NOT NULL DEFAULT '0',
  `roles` varchar(16) NOT NULL,
  `type` varchar(16) NOT NULL,
  `title` varchar(64) NOT NULL,
  `conjunction` varchar(3) NOT NULL,
  `resultsorting` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `createdelete` (`id_person_create`,`deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_sysmanager_extension`
--

CREATE TABLE `ext_sysmanager_extension` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL,
  `ext` int(10) unsigned NOT NULL,
  `version` varchar(16) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_sysmanager_smtpaccount`
--

CREATE TABLE `ext_sysmanager_smtpaccount` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `host` varchar(100) NOT NULL DEFAULT '',
  `port` int(10) unsigned NOT NULL DEFAULT '0',
  `authentication` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `username` varchar(100) NOT NULL DEFAULT '',
  `password` varchar(100) NOT NULL DEFAULT '',
  `forcename` varchar(100) NOT NULL DEFAULT '',
  `comment` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_timetracking_active`
--

CREATE TABLE `ext_timetracking_active` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `id_task` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `persondate` (`id_person_create`,`date_create`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `ext_timetracking_track`
--

CREATE TABLE `ext_timetracking_track` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL DEFAULT '0',
  `id_person_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_track` int(10) unsigned NOT NULL DEFAULT '0',
  `id_task` int(10) unsigned NOT NULL DEFAULT '0',
  `workload_tracked` int(10) unsigned NOT NULL DEFAULT '0',
  `workload_chargeable` int(10) unsigned NOT NULL DEFAULT '0',
  `comment` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `task` (`id_task`),
  KEY `persondate` (`date_track`,`id_person_create`),
  KEY `multi` (`id_person_create`,`date_track`,`id_task`,`date_create`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `static_country`
--

CREATE TABLE `static_country` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `iso_alpha2` char(2) NOT NULL,
  `iso_alpha3` char(3) NOT NULL,
  `iso_num` int(11) unsigned NOT NULL DEFAULT '0',
  `iso_num_currency` char(3) NOT NULL,
  `phone` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=242 ;

--
-- Dumping data for table `static_country`
--

INSERT INTO `static_country` VALUES
(1, 'AD', 'AND', 20, '978', 376),
(2, 'AE', 'ARE', 784, '784', 971),
(3, 'AF', 'AFG', 4, 'AFA', 93),
(4, 'AG', 'ATG', 28, '951', 1809),
(5, 'AI', 'AIA', 660, '951', 1264),
(6, 'AL', 'ALB', 8, '8', 355),
(7, 'AM', 'ARM', 51, '51', 374),
(8, 'AN', 'ANT', 530, '532', 599),
(9, 'AO', 'AGO', 24, '973', 244),
(10, 'AQ', 'ATA', 0, '0', 67212),
(11, 'AR', 'ARG', 32, '32', 54),
(12, 'AS', 'ASM', 16, '840', 685),
(13, 'AT', 'AUT', 40, '978', 43),
(14, 'AU', 'AUS', 36, '36', 61),
(15, 'AW', 'ABW', 533, '533', 297),
(16, 'AZ', 'AZE', 31, 'AZM', 994),
(17, 'BA', 'BIH', 70, '977', 387),
(18, 'BB', 'BRB', 52, '52', 1246),
(19, 'BD', 'BGD', 50, '50', 880),
(20, 'BE', 'BEL', 56, '978', 32),
(21, 'BF', 'BFA', 854, '952', 226),
(22, 'BG', 'BGR', 100, 'BGL', 359),
(23, 'BH', 'BHR', 48, '48', 973),
(24, 'BI', 'BDI', 108, '108', 257),
(25, 'BJ', 'BEN', 204, '952', 229),
(26, 'BM', 'BMU', 60, '60', 1809),
(27, 'BN', 'BRN', 96, '96', 673),
(28, 'BO', 'BOL', 68, '68', 591),
(29, 'BR', 'BRA', 76, '986', 55),
(30, 'BS', 'BHS', 44, '44', 1242),
(31, 'BT', 'BTN', 64, '64', 975),
(32, 'BV', 'BVT', 74, '578', 0),
(33, 'BW', 'BWA', 72, '72', 267),
(34, 'BY', 'BLR', 112, '974', 375),
(35, 'BZ', 'BLZ', 84, '84', 501),
(36, 'CA', 'CAN', 124, '124', 1),
(37, 'CC', 'CCK', 166, '36', 6722),
(38, 'CD', 'COD', 180, '976', 0),
(39, 'CF', 'CAF', 140, '950', 236),
(40, 'CG', 'COG', 178, '950', 242),
(41, 'CH', 'CHE', 756, '756', 41),
(42, 'CI', 'CIV', 384, '952', 225),
(43, 'CK', 'COK', 184, '554', 682),
(44, 'CL', 'CHL', 152, '152', 56),
(45, 'CM', 'CMR', 120, '950', 237),
(46, 'CN', 'CHN', 156, '156', 86),
(47, 'CO', 'COL', 170, '170', 57),
(48, 'CR', 'CRI', 188, '188', 506),
(49, 'CU', 'CUB', 192, '192', 53),
(50, 'CV', 'CPV', 132, '132', 238),
(51, 'CX', 'CXR', 162, '36', 6724),
(52, 'CY', 'CYP', 196, '196', 357),
(53, 'CZ', 'CZE', 203, '203', 420),
(54, 'DE', 'DEU', 276, '978', 49),
(55, 'DJ', 'DJI', 262, '262', 253),
(56, 'DK', 'DNK', 208, '208', 45),
(57, 'DM', 'DMA', 212, '951', 1809),
(58, 'DO', 'DOM', 214, '214', 1809),
(59, 'DZ', 'DZA', 12, '12', 213),
(60, 'EC', 'ECU', 218, '840', 593),
(61, 'EE', 'EST', 233, '233', 372),
(62, 'EG', 'EGY', 818, '818', 20),
(63, 'EH', 'ESH', 732, '504', 0),
(64, 'ER', 'ERI', 232, '232', 291),
(65, 'ES', 'ESP', 724, '978', 34),
(66, 'ET', 'ETH', 231, '230', 251),
(67, 'FI', 'FIN', 246, '978', 358),
(68, 'FJ', 'FJI', 242, '242', 679),
(69, 'FK', 'FLK', 238, '238', 500),
(70, 'FM', 'FSM', 583, '840', 691),
(71, 'FO', 'FRO', 234, '208', 298),
(72, 'FR', 'FRA', 250, '978', 33),
(73, 'GA', 'GAB', 266, '950', 241),
(74, 'GB', 'GBR', 826, '826', 44),
(75, 'GD', 'GRD', 308, '951', 1809),
(76, 'GE', 'GEO', 268, '981', 995),
(77, 'GF', 'GUF', 254, '978', 594),
(78, 'GH', 'GHA', 288, '288', 233),
(79, 'GI', 'GIB', 292, '292', 350),
(80, 'GL', 'GRL', 304, '208', 299),
(81, 'GM', 'GMB', 270, '270', 220),
(82, 'GN', 'GIN', 324, '324', 224),
(83, 'GP', 'GLP', 312, '978', 590),
(84, 'GQ', 'GNQ', 226, '950', 240),
(85, 'GR', 'GRC', 300, '978', 30),
(86, 'GS', 'SGS', 239, '0', 0),
(87, 'GT', 'GTM', 320, '320', 502),
(88, 'GU', 'GUM', 316, '840', 671),
(89, 'GW', 'GNB', 624, '952', 245),
(90, 'GY', 'GUY', 328, '328', 592),
(91, 'HK', 'HKG', 344, '344', 852),
(92, 'HN', 'HND', 340, '340', 504),
(93, 'HR', 'HRV', 191, '191', 385),
(94, 'HT', 'HTI', 332, '332', 509),
(95, 'HU', 'HUN', 348, '348', 36),
(96, 'ID', 'IDN', 360, '360', 62),
(97, 'IE', 'IRL', 372, '978', 353),
(98, 'IL', 'ISR', 376, '376', 972),
(99, 'IN', 'IND', 356, '356', 91),
(100, 'IO', 'IOT', 86, '0', 0),
(101, 'IQ', 'IRQ', 368, '368', 964),
(102, 'IR', 'IRN', 364, '364', 98),
(103, 'IS', 'ISL', 352, '352', 354),
(104, 'IT', 'ITA', 380, '978', 39),
(105, 'JM', 'JAM', 388, '388', 1809),
(106, 'JO', 'JOR', 400, '400', 962),
(107, 'JP', 'JPN', 392, '392', 81),
(108, 'KE', 'KEN', 404, '404', 254),
(109, 'KG', 'KGZ', 417, '417', 7),
(110, 'KH', 'KHM', 116, '116', 855),
(111, 'KI', 'KIR', 296, '36', 686),
(112, 'KM', 'COM', 174, '174', 269),
(113, 'KN', 'KNA', 659, '951', 1809),
(114, 'KP', 'PRK', 408, '408', 850),
(115, 'KR', 'KOR', 410, '410', 82),
(116, 'KW', 'KWT', 414, '414', 965),
(117, 'KY', 'CYM', 136, '136', 1809),
(118, 'KZ', 'KAZ', 398, '398', 7),
(119, 'LA', 'LAO', 418, '418', 856),
(120, 'LB', 'LBN', 422, '422', 961),
(121, 'LC', 'LCA', 662, '951', 1809),
(122, 'LI', 'LIE', 438, '756', 41),
(123, 'LK', 'LKA', 144, '144', 94),
(124, 'LR', 'LBR', 430, '430', 231),
(125, 'LS', 'LSO', 426, '426', 266),
(126, 'LT', 'LTU', 440, '440', 370),
(127, 'LU', 'LUX', 442, '978', 352),
(128, 'LV', 'LVA', 428, '428', 371),
(129, 'LY', 'LBY', 434, '434', 218),
(130, 'MA', 'MAR', 504, '504', 212),
(131, 'MC', 'MCO', 492, '978', 377),
(132, 'MD', 'MDA', 498, '498', 373),
(133, 'MG', 'MDG', 450, 'MGF', 261),
(134, 'MH', 'MHL', 584, '840', 692),
(135, 'MK', 'MKD', 807, '807', 389),
(136, 'ML', 'MLI', 466, '952', 223),
(137, 'MM', 'MMR', 104, '104', 95),
(138, 'MN', 'MNG', 496, '496', 976),
(139, 'MO', 'MAC', 446, '446', 853),
(140, 'MP', 'MNP', 580, '840', 0),
(141, 'MQ', 'MTQ', 474, '978', 596),
(142, 'MR', 'MRT', 478, '478', 222),
(143, 'MS', 'MSR', 500, '951', 1809),
(144, 'MT', 'MLT', 470, '470', 356),
(145, 'MU', 'MUS', 480, '480', 230),
(146, 'MV', 'MDV', 462, '462', 960),
(147, 'MW', 'MWI', 454, '454', 265),
(148, 'MX', 'MEX', 484, '484', 52),
(149, 'MY', 'MYS', 458, '458', 60),
(150, 'MZ', 'MOZ', 508, '508', 258),
(151, 'NA', 'NAM', 516, '516', 264),
(152, 'NC', 'NCL', 540, '953', 687),
(153, 'NE', 'NER', 562, '952', 227),
(154, 'NF', 'NFK', 574, '36', 6723),
(155, 'NG', 'NGA', 566, '566', 234),
(156, 'NI', 'NIC', 558, '558', 505),
(157, 'NL', 'NLD', 528, '978', 31),
(158, 'NO', 'NOR', 578, '578', 47),
(159, 'NP', 'NPL', 524, '524', 977),
(160, 'NR', 'NRU', 520, '36', 674),
(161, 'NU', 'NIU', 570, '554', 683),
(162, 'NZ', 'NZL', 554, '554', 64),
(163, 'OM', 'OMN', 512, '512', 968),
(164, 'PA', 'PAN', 591, '590', 507),
(165, 'PE', 'PER', 604, '604', 51),
(166, 'PF', 'PYF', 258, '953', 689),
(167, 'PG', 'PNG', 598, '598', 675),
(168, 'PH', 'PHL', 608, '608', 63),
(169, 'PK', 'PAK', 586, '586', 92),
(170, 'PL', 'POL', 616, '985', 48),
(171, 'PM', 'SPM', 666, '978', 508),
(172, 'PN', 'PCN', 612, '554', 0),
(173, 'PR', 'PRI', 630, '840', 1809),
(174, 'PT', 'PRT', 620, '978', 351),
(175, 'PW', 'PLW', 585, '840', 680),
(176, 'PY', 'PRY', 600, '600', 595),
(177, 'QA', 'QAT', 634, '634', 974),
(178, 'RE', 'REU', 638, '978', 262),
(179, 'RO', 'ROM', 642, '642', 40),
(180, 'RU', 'RUS', 643, '643', 7),
(181, 'RW', 'RWA', 646, '646', 250),
(182, 'SA', 'SAU', 682, '682', 966),
(183, 'SB', 'SLB', 90, '90', 677),
(184, 'SC', 'SYC', 690, '690', 248),
(185, 'SD', 'SDN', 736, '736', 249),
(186, 'SE', 'SWE', 752, '752', 46),
(187, 'SG', 'SGP', 702, '702', 65),
(188, 'SH', 'SHN', 654, '654', 290),
(189, 'SI', 'SVN', 705, '705', 386),
(190, 'SJ', 'SJM', 744, '578', 0),
(191, 'SK', 'SVK', 703, '703', 421),
(192, 'SL', 'SLE', 694, '694', 232),
(193, 'SM', 'SMR', 674, '978', 378),
(194, 'SN', 'SEN', 686, '952', 221),
(195, 'SO', 'SOM', 706, '706', 252),
(196, 'SR', 'SUR', 740, 'SRG', 597),
(197, 'ST', 'STP', 678, '678', 2391),
(198, 'SV', 'SLV', 222, '222', 503),
(199, 'SY', 'SYR', 760, '760', 963),
(200, 'SZ', 'SWZ', 748, '748', 268),
(201, 'TC', 'TCA', 796, '840', 1809),
(202, 'TD', 'TCD', 148, '950', 235),
(203, 'TF', 'ATF', 260, '0', 0),
(204, 'TG', 'TGO', 768, '952', 228),
(205, 'TH', 'THA', 764, '764', 66),
(206, 'TJ', 'TJK', 762, '972', 7),
(207, 'TK', 'TKL', 772, '554', 0),
(208, 'TM', 'TKM', 795, '795', 7),
(209, 'TN', 'TUN', 788, '788', 216),
(210, 'TO', 'TON', 776, '776', 676),
(211, 'TL', 'TLS', 626, 'TPE', 0),
(212, 'TR', 'TUR', 792, 'TRL', 90),
(213, 'TT', 'TTO', 780, '780', 1809),
(214, 'TV', 'TUV', 798, '36', 688),
(215, 'TW', 'TWN', 158, '901', 886),
(216, 'TZ', 'TZA', 834, '834', 255),
(217, 'UA', 'UKR', 804, '980', 380),
(218, 'UG', 'UGA', 800, '800', 256),
(220, 'US', 'USA', 840, '840', 1),
(221, 'UY', 'URY', 858, '858', 598),
(222, 'UZ', 'UZB', 860, '860', 7),
(223, 'VA', 'VAT', 336, '978', 396),
(224, 'VC', 'VCT', 670, '951', 1809),
(225, 'VE', 'VEN', 862, '862', 58),
(226, 'VG', 'VGB', 92, '840', 1809),
(227, 'VI', 'VIR', 850, '840', 1350),
(228, 'VN', 'VNM', 704, '704', 84),
(229, 'VU', 'VUT', 548, '548', 678),
(230, 'WF', 'WLF', 876, '953', 0),
(231, 'WS', 'WSM', 882, '882', 685),
(232, 'YE', 'YEM', 887, '886', 967),
(233, 'YT', 'MYT', 175, '978', 269),
(235, 'ZA', 'ZAF', 710, '710', 27),
(236, 'ZM', 'ZMB', 894, '894', 260),
(237, 'ZW', 'ZWE', 716, '716', 263),
(238, 'PS', 'PSE', 275, '0', 0),
(239, 'CS', 'SCG', 891, '891', 0),
(241, 'HM', 'HMD', 334, '0', 0);

-- --------------------------------------------------------

--
-- Table structure for table `static_country_zone`
--

CREATE TABLE `static_country_zone` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `iso_alpha2_country` char(2) NOT NULL,
  `iso_alpha3_country` char(3) NOT NULL,
  `iso_num_country` int(11) unsigned NOT NULL DEFAULT '0',
  `code` varchar(15) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=483 ;

--
-- Dumping data for table `static_country_zone`
--

INSERT INTO `static_country_zone` VALUES
(1, 'US', 'USA', 840, 'AL'),
(2, 'US', 'USA', 840, 'AK'),
(3, 'US', 'USA', 840, 'AS'),
(4, 'US', 'USA', 840, 'AZ'),
(5, 'US', 'USA', 840, 'AR'),
(6, 'US', 'USA', 840, 'AF'),
(7, 'US', 'USA', 840, 'AA'),
(8, 'US', 'USA', 840, 'AC'),
(9, 'US', 'USA', 840, 'AE'),
(10, 'US', 'USA', 840, 'AM'),
(11, 'US', 'USA', 840, 'AP'),
(12, 'US', 'USA', 840, 'CA'),
(13, 'US', 'USA', 840, 'CO'),
(14, 'US', 'USA', 840, 'CT'),
(15, 'US', 'USA', 840, 'DE'),
(16, 'US', 'USA', 840, 'DC'),
(17, 'US', 'USA', 840, 'FM'),
(18, 'US', 'USA', 840, 'FL'),
(19, 'US', 'USA', 840, 'GA'),
(20, 'US', 'USA', 840, 'GU'),
(21, 'US', 'USA', 840, 'HI'),
(22, 'US', 'USA', 840, 'ID'),
(23, 'US', 'USA', 840, 'IL'),
(24, 'US', 'USA', 840, 'IN'),
(25, 'US', 'USA', 840, 'IA'),
(26, 'US', 'USA', 840, 'KS'),
(27, 'US', 'USA', 840, 'KY'),
(28, 'US', 'USA', 840, 'LA'),
(29, 'US', 'USA', 840, 'ME'),
(30, 'US', 'USA', 840, 'MH'),
(31, 'US', 'USA', 840, 'MD'),
(32, 'US', 'USA', 840, 'MA'),
(33, 'US', 'USA', 840, 'MI'),
(34, 'US', 'USA', 840, 'MN'),
(35, 'US', 'USA', 840, 'MS'),
(36, 'US', 'USA', 840, 'MO'),
(37, 'US', 'USA', 840, 'MT'),
(38, 'US', 'USA', 840, 'NE'),
(39, 'US', 'USA', 840, 'NV'),
(40, 'US', 'USA', 840, 'NH'),
(41, 'US', 'USA', 840, 'NJ'),
(42, 'US', 'USA', 840, 'NM'),
(43, 'US', 'USA', 840, 'NY'),
(44, 'US', 'USA', 840, 'NC'),
(45, 'US', 'USA', 840, 'ND'),
(46, 'US', 'USA', 840, 'MP'),
(47, 'US', 'USA', 840, 'OH'),
(48, 'US', 'USA', 840, 'OK'),
(49, 'US', 'USA', 840, 'OR'),
(50, 'US', 'USA', 840, 'PW'),
(51, 'US', 'USA', 840, 'PA'),
(52, 'US', 'USA', 840, 'PR'),
(53, 'US', 'USA', 840, 'RI'),
(54, 'US', 'USA', 840, 'SC'),
(55, 'US', 'USA', 840, 'SD'),
(56, 'US', 'USA', 840, 'TN'),
(57, 'US', 'USA', 840, 'TX'),
(58, 'US', 'USA', 840, 'UT'),
(59, 'US', 'USA', 840, 'VT'),
(60, 'US', 'USA', 840, 'VI'),
(61, 'US', 'USA', 840, 'VA'),
(62, 'US', 'USA', 840, 'WA'),
(63, 'US', 'USA', 840, 'WV'),
(64, 'US', 'USA', 840, 'WI'),
(65, 'US', 'USA', 840, 'WY'),
(66, 'CA', 'CAN', 124, 'AB'),
(67, 'CA', 'CAN', 124, 'BC'),
(68, 'CA', 'CAN', 124, 'MB'),
(69, 'CA', 'CAN', 124, 'NF'),
(70, 'CA', 'CAN', 124, 'NB'),
(71, 'CA', 'CAN', 124, 'NS'),
(72, 'CA', 'CAN', 124, 'NT'),
(73, 'CA', 'CAN', 124, 'NU'),
(74, 'CA', 'CAN', 124, 'ON'),
(75, 'CA', 'CAN', 124, 'PE'),
(76, 'CA', 'CAN', 124, 'QC'),
(77, 'CA', 'CAN', 124, 'SK'),
(78, 'CA', 'CAN', 124, 'YT'),
(79, 'DE', 'DEU', 276, 'NDS'),
(80, 'DE', 'DEU', 276, 'BAW'),
(81, 'DE', 'DEU', 276, 'BAY'),
(82, 'DE', 'DEU', 276, 'BER'),
(83, 'DE', 'DEU', 276, 'BRG'),
(84, 'DE', 'DEU', 276, 'BRE'),
(85, 'DE', 'DEU', 276, 'HAM'),
(86, 'DE', 'DEU', 276, 'HES'),
(87, 'DE', 'DEU', 276, 'MEC'),
(88, 'DE', 'DEU', 276, 'NRW'),
(89, 'DE', 'DEU', 276, 'RHE'),
(90, 'DE', 'DEU', 276, 'SAR'),
(91, 'DE', 'DEU', 276, 'SAS'),
(92, 'DE', 'DEU', 276, 'SAC'),
(93, 'DE', 'DEU', 276, 'SCN'),
(94, 'DE', 'DEU', 276, 'THE'),
(95, 'AT', 'AUT', 40, 'WI'),
(96, 'AT', 'AUT', 40, 'NO'),
(97, 'AT', 'AUT', 40, 'OO'),
(98, 'AT', 'AUT', 40, 'SB'),
(99, 'AT', 'AUT', 40, 'KN'),
(100, 'AT', 'AUT', 40, 'ST'),
(101, 'AT', 'AUT', 40, 'TI'),
(102, 'AT', 'AUT', 40, 'BL'),
(103, 'AT', 'AUT', 40, 'VB'),
(104, 'CH', 'CHE', 756, 'AG'),
(105, 'CH', 'CHE', 756, 'AI'),
(106, 'CH', 'CHE', 756, 'AR'),
(107, 'CH', 'CHE', 756, 'BE'),
(108, 'CH', 'CHE', 756, 'BL'),
(109, 'CH', 'CHE', 756, 'BS'),
(110, 'CH', 'CHE', 756, 'FR'),
(111, 'CH', 'CHE', 756, 'GE'),
(112, 'CH', 'CHE', 756, 'GL'),
(113, 'CH', 'CHE', 756, 'GR'),
(114, 'CH', 'CHE', 756, 'JU'),
(115, 'CH', 'CHE', 756, 'LU'),
(116, 'CH', 'CHE', 756, 'NE'),
(117, 'CH', 'CHE', 756, 'NW'),
(118, 'CH', 'CHE', 756, 'OW'),
(119, 'CH', 'CHE', 756, 'SG'),
(120, 'CH', 'CHE', 756, 'SH'),
(121, 'CH', 'CHE', 756, 'SO'),
(122, 'CH', 'CHE', 756, 'SZ'),
(123, 'CH', 'CHE', 756, 'TG'),
(124, 'CH', 'CHE', 756, 'TI'),
(125, 'CH', 'CHE', 756, 'UR'),
(126, 'CH', 'CHE', 756, 'VD'),
(127, 'CH', 'CHE', 756, 'VS'),
(128, 'CH', 'CHE', 756, 'ZG'),
(129, 'CH', 'CHE', 756, 'ZH'),
(130, 'ES', 'ESP', 724, 'Alava'),
(131, 'ES', 'ESP', 724, 'Malaga'),
(132, 'ES', 'ESP', 724, 'Segovia'),
(133, 'ES', 'ESP', 724, 'Granada'),
(134, 'ES', 'ESP', 724, 'Jaen'),
(135, 'ES', 'ESP', 724, 'Sevilla'),
(136, 'ES', 'ESP', 724, 'Barcelona'),
(137, 'ES', 'ESP', 724, 'Valencia'),
(138, 'ES', 'ESP', 724, 'Alicante'),
(139, 'ES', 'ESP', 724, 'Almeria'),
(140, 'ES', 'ESP', 724, 'Asturias'),
(141, 'ES', 'ESP', 724, 'Avila'),
(142, 'ES', 'ESP', 724, 'Badajoz'),
(143, 'ES', 'ESP', 724, 'Burgos'),
(144, 'ES', 'ESP', 724, 'Caceres'),
(145, 'ES', 'ESP', 724, 'Cadiz'),
(146, 'ES', 'ESP', 724, 'Cantabria'),
(147, 'ES', 'ESP', 724, 'Castellon'),
(148, 'ES', 'ESP', 724, 'Ceuta'),
(149, 'ES', 'ESP', 724, 'Ciudad Real'),
(150, 'ES', 'ESP', 724, 'Cordoba'),
(151, 'ES', 'ESP', 724, 'Cuenca'),
(152, 'ES', 'ESP', 724, 'Girona'),
(153, 'ES', 'ESP', 724, 'Las Palmas'),
(154, 'ES', 'ESP', 724, 'Guadalajara'),
(155, 'ES', 'ESP', 724, 'Guipuzcoa'),
(156, 'ES', 'ESP', 724, 'Huelva'),
(157, 'ES', 'ESP', 724, 'Huesca'),
(158, 'ES', 'ESP', 724, 'A Coru'),
(159, 'ES', 'ESP', 724, 'La Rioja'),
(160, 'ES', 'ESP', 724, 'Leon'),
(161, 'ES', 'ESP', 724, 'Lugo'),
(162, 'ES', 'ESP', 724, 'Lleida'),
(163, 'ES', 'ESP', 724, 'Madrid'),
(164, 'ES', 'ESP', 724, 'Baleares'),
(166, 'ES', 'ESP', 724, 'Murcia'),
(167, 'ES', 'ESP', 724, 'Navarra'),
(168, 'ES', 'ESP', 724, 'Ourense'),
(169, 'ES', 'ESP', 724, 'Palencia'),
(170, 'ES', 'ESP', 724, 'Pontevedra'),
(171, 'ES', 'ESP', 724, 'Salamanca'),
(172, 'ES', 'ESP', 724, 'Soria'),
(173, 'ES', 'ESP', 724, 'Tarragona'),
(174, 'ES', 'ESP', 724, 'Tenerife'),
(175, 'ES', 'ESP', 724, 'Teruel'),
(176, 'ES', 'ESP', 724, 'Toledo'),
(177, 'ES', 'ESP', 724, 'Valladolid'),
(178, 'ES', 'ESP', 724, 'Vizcaya'),
(179, 'ES', 'ESP', 724, 'Zamora'),
(180, 'ES', 'ESP', 724, 'Zaragoza'),
(181, 'ES', 'ESP', 724, 'Melilla'),
(182, 'MX', 'MEX', 484, 'AGS'),
(183, 'MX', 'MEX', 484, 'BCS'),
(184, 'MX', 'MEX', 484, 'BC'),
(185, 'MX', 'MEX', 484, 'CAM'),
(186, 'MX', 'MEX', 484, 'CHIS'),
(187, 'MX', 'MEX', 484, 'CHIH'),
(188, 'MX', 'MEX', 484, 'COAH'),
(189, 'MX', 'MEX', 484, 'COL'),
(190, 'MX', 'MEX', 484, 'DIF'),
(191, 'MX', 'MEX', 484, 'DGO'),
(192, 'MX', 'MEX', 484, 'GTO'),
(193, 'MX', 'MEX', 484, 'GRO'),
(194, 'MX', 'MEX', 484, 'HGO'),
(195, 'MX', 'MEX', 484, 'JAL'),
(196, 'MX', 'MEX', 484, 'MEX'),
(197, 'MX', 'MEX', 484, 'MICH'),
(198, 'MX', 'MEX', 484, 'MOR'),
(199, 'MX', 'MEX', 484, 'NAY'),
(200, 'MX', 'MEX', 484, 'NL'),
(201, 'MX', 'MEX', 484, 'OAX'),
(202, 'MX', 'MEX', 484, 'PUE'),
(203, 'MX', 'MEX', 484, 'QRO'),
(204, 'MX', 'MEX', 484, 'QROO'),
(205, 'MX', 'MEX', 484, 'SLP'),
(206, 'MX', 'MEX', 484, 'SIN'),
(207, 'MX', 'MEX', 484, 'SON'),
(208, 'MX', 'MEX', 484, 'TAB'),
(209, 'MX', 'MEX', 484, 'TAMPS'),
(210, 'MX', 'MEX', 484, 'TLAX'),
(211, 'MX', 'MEX', 484, 'VER'),
(212, 'MX', 'MEX', 484, 'YUC'),
(213, 'MX', 'MEX', 484, 'ZAC'),
(214, 'AU', 'AUS', 36, 'ACT'),
(215, 'AU', 'AUS', 36, 'NSW'),
(216, 'AU', 'AUS', 36, 'NT'),
(217, 'AU', 'AUS', 36, 'QLD'),
(218, 'AU', 'AUS', 36, 'SA'),
(219, 'AU', 'AUS', 36, 'TAS'),
(220, 'AU', 'AUS', 36, 'VIC'),
(221, 'AU', 'AUS', 36, 'WA'),
(222, 'IT', 'ITA', 380, 'AG'),
(223, 'IT', 'ITA', 380, 'AL'),
(224, 'IT', 'ITA', 380, 'AN'),
(225, 'IT', 'ITA', 380, 'AO'),
(226, 'IT', 'ITA', 380, 'AP'),
(227, 'IT', 'ITA', 380, 'AQ'),
(228, 'IT', 'ITA', 380, 'AR'),
(229, 'IT', 'ITA', 380, 'AT'),
(230, 'IT', 'ITA', 380, 'AV'),
(231, 'IT', 'ITA', 380, 'BA'),
(232, 'IT', 'ITA', 380, 'BG'),
(233, 'IT', 'ITA', 380, 'BI'),
(234, 'IT', 'ITA', 380, 'BL'),
(235, 'IT', 'ITA', 380, 'BN'),
(236, 'IT', 'ITA', 380, 'BO'),
(237, 'IT', 'ITA', 380, 'BR'),
(238, 'IT', 'ITA', 380, 'BS'),
(239, 'IT', 'ITA', 380, 'BZ'),
(240, 'IT', 'ITA', 380, 'CA'),
(241, 'IT', 'ITA', 380, 'CB'),
(242, 'IT', 'ITA', 380, 'CE'),
(243, 'IT', 'ITA', 380, 'CH'),
(244, 'IT', 'ITA', 380, 'CL'),
(245, 'IT', 'ITA', 380, 'CN'),
(246, 'IT', 'ITA', 380, 'CO'),
(247, 'IT', 'ITA', 380, 'CR'),
(248, 'IT', 'ITA', 380, 'CS'),
(249, 'IT', 'ITA', 380, 'CT'),
(250, 'IT', 'ITA', 380, 'CZ'),
(251, 'IT', 'ITA', 380, 'EN'),
(252, 'IT', 'ITA', 380, 'FE'),
(253, 'IT', 'ITA', 380, 'FG'),
(254, 'IT', 'ITA', 380, 'FI'),
(255, 'IT', 'ITA', 380, 'FO'),
(256, 'IT', 'ITA', 380, 'FR'),
(257, 'IT', 'ITA', 380, 'GE'),
(258, 'IT', 'ITA', 380, 'GO'),
(259, 'IT', 'ITA', 380, 'GR'),
(260, 'IT', 'ITA', 380, 'IM'),
(261, 'IT', 'ITA', 380, 'IS'),
(262, 'IT', 'ITA', 380, 'KR'),
(263, 'IT', 'ITA', 380, 'LC'),
(264, 'IT', 'ITA', 380, 'LE'),
(265, 'IT', 'ITA', 380, 'LI'),
(266, 'IT', 'ITA', 380, 'LO'),
(267, 'IT', 'ITA', 380, 'LT'),
(268, 'IT', 'ITA', 380, 'LU'),
(269, 'IT', 'ITA', 380, 'MC'),
(270, 'IT', 'ITA', 380, 'ME'),
(271, 'IT', 'ITA', 380, 'MI'),
(272, 'IT', 'ITA', 380, 'MN'),
(273, 'IT', 'ITA', 380, 'MO'),
(274, 'IT', 'ITA', 380, 'MS'),
(275, 'IT', 'ITA', 380, 'MT'),
(276, 'IT', 'ITA', 380, 'NA'),
(277, 'IT', 'ITA', 380, 'NO'),
(278, 'IT', 'ITA', 380, 'NU'),
(279, 'IT', 'ITA', 380, 'OR'),
(280, 'IT', 'ITA', 380, 'PA'),
(281, 'IT', 'ITA', 380, 'PC'),
(282, 'IT', 'ITA', 380, 'PD'),
(283, 'IT', 'ITA', 380, 'PE'),
(284, 'IT', 'ITA', 380, 'PG'),
(285, 'IT', 'ITA', 380, 'PI'),
(286, 'IT', 'ITA', 380, 'PN'),
(287, 'IT', 'ITA', 380, 'PR'),
(288, 'IT', 'ITA', 380, 'PS'),
(289, 'IT', 'ITA', 380, 'PT'),
(290, 'IT', 'ITA', 380, 'PV'),
(291, 'IT', 'ITA', 380, 'PO'),
(292, 'IT', 'ITA', 380, 'PZ'),
(293, 'IT', 'ITA', 380, 'RA'),
(294, 'IT', 'ITA', 380, 'RC'),
(295, 'IT', 'ITA', 380, 'RE'),
(296, 'IT', 'ITA', 380, 'RG'),
(297, 'IT', 'ITA', 380, 'RI'),
(298, 'IT', 'ITA', 380, 'RM'),
(299, 'IT', 'ITA', 380, 'RN'),
(300, 'IT', 'ITA', 380, 'RO'),
(301, 'IT', 'ITA', 380, 'SA'),
(302, 'IT', 'ITA', 380, 'SI'),
(303, 'IT', 'ITA', 380, 'SO'),
(304, 'IT', 'ITA', 380, 'SP'),
(305, 'IT', 'ITA', 380, 'SR'),
(306, 'IT', 'ITA', 380, 'SS'),
(307, 'IT', 'ITA', 380, 'SV'),
(308, 'IT', 'ITA', 380, 'TA'),
(309, 'IT', 'ITA', 380, 'TE'),
(310, 'IT', 'ITA', 380, 'TN'),
(311, 'IT', 'ITA', 380, 'TO'),
(312, 'IT', 'ITA', 380, 'TP'),
(313, 'IT', 'ITA', 380, 'TR'),
(314, 'IT', 'ITA', 380, 'TS'),
(315, 'IT', 'ITA', 380, 'TV'),
(316, 'IT', 'ITA', 380, 'UD'),
(317, 'IT', 'ITA', 380, 'VA'),
(318, 'IT', 'ITA', 380, 'VC'),
(319, 'IT', 'ITA', 380, 'VE'),
(320, 'IT', 'ITA', 380, 'VI'),
(321, 'IT', 'ITA', 380, 'VP'),
(322, 'IT', 'ITA', 380, 'VR'),
(323, 'IT', 'ITA', 380, 'VT'),
(324, 'IT', 'ITA', 380, 'VV'),
(325, 'GB', 'GBR', 826, 'ALD'),
(326, 'GB', 'GBR', 826, 'ARM'),
(327, 'GB', 'GBR', 826, 'ATM'),
(328, 'GB', 'GBR', 826, 'BDS'),
(329, 'GB', 'GBR', 826, 'BFD'),
(330, 'GB', 'GBR', 826, 'BIR'),
(331, 'GB', 'GBR', 826, 'BLG'),
(332, 'GB', 'GBR', 826, 'BRI'),
(333, 'GB', 'GBR', 826, 'BRK'),
(334, 'GB', 'GBR', 826, 'BRS'),
(335, 'GB', 'GBR', 826, 'BUX'),
(336, 'GB', 'GBR', 826, 'CAP'),
(337, 'GB', 'GBR', 826, 'CAR'),
(338, 'GB', 'GBR', 826, 'CAS'),
(339, 'GB', 'GBR', 826, 'CBA'),
(340, 'GB', 'GBR', 826, 'CBE'),
(341, 'GB', 'GBR', 826, 'CER'),
(342, 'GB', 'GBR', 826, 'CHI'),
(343, 'GB', 'GBR', 826, 'CHS'),
(344, 'GB', 'GBR', 826, 'CLD'),
(345, 'GB', 'GBR', 826, 'CNL'),
(346, 'GB', 'GBR', 826, 'CON'),
(347, 'GB', 'GBR', 826, 'CTR'),
(348, 'GB', 'GBR', 826, 'CVE'),
(349, 'GB', 'GBR', 826, 'DEN'),
(350, 'GB', 'GBR', 826, 'DFD'),
(351, 'GB', 'GBR', 826, 'DGL'),
(352, 'GB', 'GBR', 826, 'DHM'),
(353, 'GB', 'GBR', 826, 'DOR'),
(354, 'GB', 'GBR', 826, 'DVN'),
(355, 'GB', 'GBR', 826, 'DWN'),
(356, 'GB', 'GBR', 826, 'DYS'),
(357, 'GB', 'GBR', 826, 'ESX'),
(358, 'GB', 'GBR', 826, 'FER'),
(359, 'GB', 'GBR', 826, 'FFE'),
(360, 'GB', 'GBR', 826, 'FLI'),
(361, 'GB', 'GBR', 826, 'FMH'),
(362, 'GB', 'GBR', 826, 'GDD'),
(363, 'GB', 'GBR', 826, 'GLO'),
(364, 'GB', 'GBR', 826, 'GLR'),
(365, 'GB', 'GBR', 826, 'GNM'),
(366, 'GB', 'GBR', 826, 'GNS'),
(367, 'GB', 'GBR', 826, 'GNW'),
(368, 'GB', 'GBR', 826, 'GRN'),
(369, 'GB', 'GBR', 826, 'GUR'),
(370, 'GB', 'GBR', 826, 'GWT'),
(371, 'GB', 'GBR', 826, 'HBS'),
(372, 'GB', 'GBR', 826, 'HFD'),
(373, 'GB', 'GBR', 826, 'HLD'),
(374, 'GB', 'GBR', 826, 'HPH'),
(375, 'GB', 'GBR', 826, 'HWR'),
(376, 'GB', 'GBR', 826, 'IOM'),
(377, 'GB', 'GBR', 826, 'IOW'),
(378, 'GB', 'GBR', 826, 'ISL'),
(379, 'GB', 'GBR', 826, 'JER'),
(380, 'GB', 'GBR', 826, 'KNT'),
(381, 'GB', 'GBR', 826, 'LCN'),
(382, 'GB', 'GBR', 826, 'LDN'),
(383, 'GB', 'GBR', 826, 'LDR'),
(384, 'GB', 'GBR', 826, 'LEC'),
(385, 'GB', 'GBR', 826, 'LNH'),
(386, 'GB', 'GBR', 826, 'LON'),
(387, 'GB', 'GBR', 826, 'LTE'),
(388, 'GB', 'GBR', 826, 'LTM'),
(389, 'GB', 'GBR', 826, 'LTW'),
(390, 'GB', 'GBR', 826, 'MCH'),
(391, 'GB', 'GBR', 826, 'MER'),
(392, 'GB', 'GBR', 826, 'MON'),
(393, 'GB', 'GBR', 826, 'MSY'),
(394, 'GB', 'GBR', 826, 'NET'),
(395, 'GB', 'GBR', 826, 'NEW'),
(396, 'GB', 'GBR', 826, 'NHM'),
(397, 'GB', 'GBR', 826, 'NLD'),
(398, 'GB', 'GBR', 826, 'NOR'),
(399, 'GB', 'GBR', 826, 'NOT'),
(400, 'GB', 'GBR', 826, 'NWH'),
(401, 'GB', 'GBR', 826, 'OFE'),
(402, 'GB', 'GBR', 826, 'ORK'),
(403, 'GB', 'GBR', 826, 'PEM'),
(404, 'GB', 'GBR', 826, 'PWS'),
(405, 'GB', 'GBR', 826, 'SCD'),
(406, 'GB', 'GBR', 826, 'SFD'),
(407, 'GB', 'GBR', 826, 'SFK'),
(408, 'GB', 'GBR', 826, 'SLD'),
(409, 'GB', 'GBR', 826, 'SOM'),
(410, 'GB', 'GBR', 826, 'SPE'),
(411, 'GB', 'GBR', 826, 'SRK'),
(412, 'GB', 'GBR', 826, 'SRY'),
(413, 'GB', 'GBR', 826, 'SWA'),
(414, 'GB', 'GBR', 826, 'SXE'),
(415, 'GB', 'GBR', 826, 'SXW'),
(416, 'GB', 'GBR', 826, 'TAF'),
(417, 'GB', 'GBR', 826, 'TOR'),
(418, 'GB', 'GBR', 826, 'TWR'),
(419, 'GB', 'GBR', 826, 'TYR'),
(420, 'GB', 'GBR', 826, 'TYS'),
(421, 'GB', 'GBR', 826, 'VAL'),
(422, 'GB', 'GBR', 826, 'WIL'),
(423, 'GB', 'GBR', 826, 'WKS'),
(424, 'GB', 'GBR', 826, 'WLT'),
(425, 'GB', 'GBR', 826, 'WMD'),
(426, 'GB', 'GBR', 826, 'WRE'),
(427, 'GB', 'GBR', 826, 'YSN'),
(428, 'GB', 'GBR', 826, 'YSS'),
(429, 'GB', 'GBR', 826, 'YSW'),
(430, 'IE', 'IRL', 372, 'CAR'),
(431, 'IE', 'IRL', 372, 'CAV'),
(432, 'IE', 'IRL', 372, 'CLA'),
(433, 'IE', 'IRL', 372, 'COR'),
(434, 'IE', 'IRL', 372, 'DON'),
(435, 'IE', 'IRL', 372, 'DUB'),
(436, 'IE', 'IRL', 372, 'GAL'),
(437, 'IE', 'IRL', 372, 'KER'),
(438, 'IE', 'IRL', 372, 'KIL'),
(439, 'IE', 'IRL', 372, 'KLK'),
(440, 'IE', 'IRL', 372, 'LAO'),
(441, 'IE', 'IRL', 372, 'LEI'),
(442, 'IE', 'IRL', 372, 'LIM'),
(443, 'IE', 'IRL', 372, 'LON'),
(444, 'IE', 'IRL', 372, 'LOU'),
(445, 'IE', 'IRL', 372, 'MAY'),
(446, 'IE', 'IRL', 372, 'MEA'),
(447, 'IE', 'IRL', 372, 'MON'),
(448, 'IE', 'IRL', 372, 'OFF'),
(449, 'IE', 'IRL', 372, 'ROS'),
(450, 'IE', 'IRL', 372, 'SLI'),
(451, 'IE', 'IRL', 372, 'TIP'),
(452, 'IE', 'IRL', 372, 'WAT'),
(453, 'IE', 'IRL', 372, 'WES'),
(454, 'IE', 'IRL', 372, 'WEX'),
(455, 'IE', 'IRL', 372, 'WIC'),
(456, 'BR', 'BRA', 76, 'AC'),
(457, 'BR', 'BRA', 76, 'AP'),
(458, 'BR', 'BRA', 76, 'AL'),
(459, 'BR', 'BRA', 76, 'AM'),
(460, 'BR', 'BRA', 76, 'BA'),
(461, 'BR', 'BRA', 76, 'CE'),
(462, 'BR', 'BRA', 76, 'DF'),
(463, 'BR', 'BRA', 76, 'ES'),
(464, 'BR', 'BRA', 76, 'GO'),
(465, 'BR', 'BRA', 76, 'MA'),
(466, 'BR', 'BRA', 76, 'MG'),
(467, 'BR', 'BRA', 76, 'MS'),
(468, 'BR', 'BRA', 76, 'MT'),
(469, 'BR', 'BRA', 76, 'PA'),
(470, 'BR', 'BRA', 76, 'PB'),
(471, 'BR', 'BRA', 76, 'PE'),
(472, 'BR', 'BRA', 76, 'PI'),
(473, 'BR', 'BRA', 76, 'PR'),
(474, 'BR', 'BRA', 76, 'RJ'),
(475, 'BR', 'BRA', 76, 'RN'),
(476, 'BR', 'BRA', 76, 'RO'),
(477, 'BR', 'BRA', 76, 'RR'),
(478, 'BR', 'BRA', 76, 'RS'),
(479, 'BR', 'BRA', 76, 'SC'),
(480, 'BR', 'BRA', 76, 'SE'),
(481, 'BR', 'BRA', 76, 'SP'),
(482, 'BR', 'BRA', 76, 'TO');

-- --------------------------------------------------------

--
-- Table structure for table `static_language`
--

CREATE TABLE `static_language` (
  `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `iso_alpha2` char(2) NOT NULL DEFAULT '',
  `iso_alpha3` char(3) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `alpha2` (`iso_alpha2`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=185 ;

--
-- Dumping data for table `static_language`
--

INSERT INTO `static_language` VALUES
(1, 'aa', 'aar'),
(2, 'ab', 'abk'),
(3, 'ae', 'ave'),
(4, 'af', 'afr'),
(5, 'ak', 'aka'),
(6, 'am', 'amh'),
(7, 'an', 'arg'),
(8, 'ar', 'ara'),
(9, 'as', 'asm'),
(10, 'av', 'ava'),
(11, 'ay', 'aym'),
(12, 'az', 'aze'),
(13, 'ba', 'bak'),
(14, 'be', 'bel'),
(15, 'bg', 'bul'),
(16, 'bh', 'bih'),
(17, 'bi', 'bis'),
(18, 'bm', 'bam'),
(19, 'bn', 'ben'),
(20, 'bo', 'tib'),
(21, 'br', 'bre'),
(22, 'bs', 'bos'),
(23, 'ca', 'cat'),
(24, 'ce', 'che'),
(25, 'ch', 'cha'),
(26, 'co', 'cos'),
(27, 'cr', 'cre'),
(28, 'cs', 'cze'),
(29, 'cu', 'chu'),
(30, 'cv', 'chv'),
(31, 'cy', 'wel'),
(32, 'da', 'dan'),
(33, 'de', 'ger'),
(34, 'dv', 'div'),
(35, 'dz', 'dzo'),
(36, 'ee', 'ewe'),
(37, 'el', 'gre'),
(38, 'en', 'eng'),
(39, 'eo', 'epo'),
(40, 'es', 'spa'),
(41, 'et', 'est'),
(42, 'eu', 'baq'),
(43, 'fa', 'per'),
(44, 'ff', 'ful'),
(45, 'fi', 'fin'),
(46, 'fj', 'fij'),
(47, 'fo', 'fao'),
(48, 'fr', 'fre'),
(49, 'fy', 'fry'),
(50, 'ga', 'gle'),
(51, 'gd', 'gla'),
(52, 'gl', 'glg'),
(53, 'gn', 'grn'),
(54, 'gu', 'guj'),
(55, 'gv', 'glv'),
(56, 'ha', 'hau'),
(57, 'he', 'heb'),
(58, 'hi', 'hin'),
(59, 'ho', 'hmo'),
(60, 'hr', 'hrv'),
(61, 'ht', 'hat'),
(62, 'hu', 'hun'),
(63, 'hy', 'arm'),
(64, 'hz', 'her'),
(65, 'ia', 'ina'),
(66, 'id', 'ind'),
(67, 'ie', 'ile'),
(68, 'ig', 'ibo'),
(69, 'ii', 'iii'),
(70, 'ik', 'ipk'),
(71, 'io', 'ido'),
(72, 'is', 'ice'),
(73, 'it', 'ita'),
(74, 'iu', 'iku'),
(75, 'ja', 'jpn'),
(76, 'jv', 'jav'),
(77, 'ka', 'geo'),
(78, 'kg', 'kon'),
(79, 'ki', 'kik'),
(80, 'kj', 'kua'),
(81, 'kk', 'kaz'),
(82, 'kl', 'kal'),
(83, 'km', 'khm'),
(84, 'kn', 'kan'),
(85, 'ko', 'kor'),
(86, 'kr', 'kau'),
(87, 'ks', 'kas'),
(88, 'ku', 'kur'),
(89, 'kv', 'kom'),
(90, 'kw', 'cor'),
(91, 'ky', 'kir'),
(92, 'la', 'lat'),
(93, 'lb', 'ltz'),
(94, 'lg', 'lug'),
(95, 'li', 'lim'),
(96, 'ln', 'lin'),
(97, 'lo', 'lao'),
(98, 'lt', 'lit'),
(99, 'lu', 'lub'),
(100, 'lv', 'lav'),
(101, 'mg', 'mlg'),
(102, 'mh', 'mah'),
(103, 'mi', 'mao'),
(104, 'mk', 'mac'),
(105, 'ml', 'mal'),
(106, 'mn', 'mon'),
(107, 'mr', 'mar'),
(108, 'ms', 'may'),
(109, 'mt', 'mlt'),
(110, 'my', 'bur'),
(111, 'na', 'nau'),
(112, 'nb', 'nob'),
(113, 'nd', 'nde'),
(114, 'ne', 'nep'),
(115, 'ng', 'ndo'),
(116, 'nl', 'dut'),
(117, 'nn', 'nno'),
(118, 'no', 'nor'),
(119, 'nr', 'nbl'),
(120, 'nv', 'nav'),
(121, 'ny', 'nya'),
(122, 'oc', 'oci'),
(123, 'oj', 'oji'),
(124, 'om', 'orm'),
(125, 'or', 'ori'),
(126, 'os', 'oss'),
(127, 'pa', 'pan'),
(128, 'pi', 'pli'),
(129, 'pl', 'pol'),
(130, 'ps', 'pus'),
(131, 'pt', 'por'),
(132, 'qu', 'que'),
(133, 'rm', 'roh'),
(134, 'rn', 'run'),
(135, 'ro', 'rum'),
(136, 'ru', 'rus'),
(137, 'rw', 'kin'),
(138, 'sa', 'san'),
(139, 'sc', 'srd'),
(140, 'sd', 'snd'),
(141, 'se', 'sme'),
(142, 'sg', 'sag'),
(143, 'si', 'sin'),
(144, 'sk', 'slo'),
(145, 'sl', 'slv'),
(146, 'sm', 'smo'),
(147, 'sn', 'sna'),
(148, 'so', 'som'),
(149, 'sq', 'alb'),
(150, 'sr', 'srp'),
(151, 'ss', 'ssw'),
(152, 'st', 'sot'),
(153, 'su', 'sun'),
(154, 'sv', 'swe'),
(155, 'sw', 'swa'),
(156, 'ta', 'tam'),
(157, 'te', 'tel'),
(158, 'tg', 'tgk'),
(159, 'th', 'tha'),
(160, 'ti', 'tir'),
(161, 'tk', 'tuk'),
(162, 'tl', 'tgl'),
(163, 'tn', 'tsn'),
(164, 'to', 'ton'),
(165, 'tr', 'tur'),
(166, 'ts', 'tso'),
(167, 'tt', 'tat'),
(168, 'tw', 'twi'),
(169, 'ty', 'tah'),
(170, 'ug', 'uig'),
(171, 'uk', 'ukr'),
(172, 'ur', 'urd'),
(173, 'uz', 'uzb'),
(174, 've', 'ven'),
(175, 'vi', 'vie'),
(176, 'vo', 'vol'),
(177, 'wa', 'wln'),
(178, 'wo', 'wol'),
(179, 'xh', 'xho'),
(180, 'yi', 'yid'),
(181, 'yo', 'yor'),
(182, 'za', 'zha'),
(183, 'zh', 'chi'),
(184, 'zu', 'zul');

-- --------------------------------------------------------

--
-- Table structure for table `static_territory`
--

CREATE TABLE `static_territory` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `iso_num` int(11) unsigned NOT NULL DEFAULT '0',
  `parent_iso_num` int(11) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=29 ;

--
-- Dumping data for table `static_territory`
--

INSERT INTO `static_territory` VALUES
(1, 2, 0),
(2, 9, 0),
(3, 19, 0),
(4, 142, 0),
(5, 150, 0),
(6, 30, 142),
(7, 35, 142),
(8, 62, 142),
(9, 145, 142),
(10, 39, 150),
(11, 151, 150),
(12, 154, 150),
(13, 155, 150),
(14, 830, 154),
(15, 833, 154),
(16, 5, 419),
(17, 13, 419),
(18, 21, 3),
(19, 29, 419),
(20, 11, 2),
(21, 14, 2),
(22, 15, 2),
(23, 17, 2),
(24, 18, 2),
(25, 53, 9),
(26, 54, 9),
(27, 57, 9),
(28, 61, 9);

-- --------------------------------------------------------

--
-- Table structure for table `static_timezone`
--

CREATE TABLE `static_timezone` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `timezone` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=454 ;

--
-- Dumping data for table `static_timezone`
--

INSERT INTO `static_timezone` VALUES
(1, 'Africa/Abidjan'),
(2, 'Africa/Accra'),
(3, 'Africa/Addis_Ababa'),
(4, 'Africa/Algiers'),
(5, 'Africa/Asmara'),
(6, 'Africa/Asmera'),
(7, 'Africa/Bamako'),
(8, 'Africa/Bangui'),
(9, 'Africa/Banjul'),
(10, 'Africa/Bissau'),
(11, 'Africa/Blantyre'),
(12, 'Africa/Brazzaville'),
(13, 'Africa/Bujumbura'),
(14, 'Africa/Cairo'),
(15, 'Africa/Casablanca'),
(16, 'Africa/Ceuta'),
(17, 'Africa/Conakry'),
(18, 'Africa/Dakar'),
(19, 'Africa/Dar_es_Salaam'),
(20, 'Africa/Djibouti'),
(21, 'Africa/Douala'),
(22, 'Africa/El_Aaiun'),
(23, 'Africa/Freetown'),
(24, 'Africa/Gaborone'),
(25, 'Africa/Harare'),
(26, 'Africa/Johannesburg'),
(27, 'Africa/Kampala'),
(28, 'Africa/Khartoum'),
(29, 'Africa/Kigali'),
(30, 'Africa/Kinshasa'),
(31, 'Africa/Lagos'),
(32, 'Africa/Libreville'),
(33, 'Africa/Lome'),
(34, 'Africa/Luanda'),
(35, 'Africa/Lubumbashi'),
(36, 'Africa/Lusaka'),
(37, 'Africa/Malabo'),
(38, 'Africa/Maputo'),
(39, 'Africa/Maseru'),
(40, 'Africa/Mbabane'),
(41, 'Africa/Mogadishu'),
(42, 'Africa/Monrovia'),
(43, 'Africa/Nairobi'),
(44, 'Africa/Ndjamena'),
(45, 'Africa/Niamey'),
(46, 'Africa/Nouakchott'),
(47, 'Africa/Ouagadougou'),
(48, 'Africa/Porto-Novo'),
(49, 'Africa/Sao_Tome'),
(50, 'Africa/Timbuktu'),
(51, 'Africa/Tripoli'),
(52, 'Africa/Tunis'),
(53, 'Africa/Windhoek'),
(54, 'America/Adak'),
(55, 'America/Anchorage'),
(56, 'America/Anguilla'),
(57, 'America/Antigua'),
(58, 'America/Araguaina'),
(59, 'America/Argentina/Buenos_Aires'),
(60, 'America/Argentina/Catamarca'),
(61, 'America/Argentina/ComodRivadavia'),
(62, 'America/Argentina/Cordoba'),
(63, 'America/Argentina/Jujuy'),
(64, 'America/Argentina/La_Rioja'),
(65, 'America/Argentina/Mendoza'),
(66, 'America/Argentina/Rio_Gallegos'),
(67, 'America/Argentina/Salta'),
(68, 'America/Argentina/San_Juan'),
(69, 'America/Argentina/San_Luis'),
(70, 'America/Argentina/Tucuman'),
(71, 'America/Argentina/Ushuaia'),
(72, 'America/Aruba'),
(73, 'America/Asuncion'),
(74, 'America/Atikokan'),
(75, 'America/Atka'),
(76, 'America/Bahia'),
(77, 'America/Barbados'),
(78, 'America/Belem'),
(79, 'America/Belize'),
(80, 'America/Blanc-Sablon'),
(81, 'America/Boa_Vista'),
(82, 'America/Bogota'),
(83, 'America/Boise'),
(84, 'America/Buenos_Aires'),
(85, 'America/Cambridge_Bay'),
(86, 'America/Campo_Grande'),
(87, 'America/Cancun'),
(88, 'America/Caracas'),
(89, 'America/Catamarca'),
(90, 'America/Cayenne'),
(91, 'America/Cayman'),
(92, 'America/Chicago'),
(93, 'America/Chihuahua'),
(94, 'America/Coral_Harbour'),
(95, 'America/Cordoba'),
(96, 'America/Costa_Rica'),
(97, 'America/Cuiaba'),
(98, 'America/Curacao'),
(99, 'America/Danmarkshavn'),
(100, 'America/Dawson'),
(101, 'America/Dawson_Creek'),
(102, 'America/Denver'),
(103, 'America/Detroit'),
(104, 'America/Dominica'),
(105, 'America/Edmonton'),
(106, 'America/Eirunepe'),
(107, 'America/El_Salvador'),
(108, 'America/Ensenada'),
(109, 'America/Fort_Wayne'),
(110, 'America/Fortaleza'),
(111, 'America/Glace_Bay'),
(112, 'America/Godthab'),
(113, 'America/Goose_Bay'),
(114, 'America/Grand_Turk'),
(115, 'America/Grenada'),
(116, 'America/Guadeloupe'),
(117, 'America/Guatemala'),
(118, 'America/Guayaquil'),
(119, 'America/Guyana'),
(120, 'America/Halifax'),
(121, 'America/Havana'),
(122, 'America/Hermosillo'),
(123, 'America/Indiana/Indianapolis'),
(124, 'America/Indiana/Knox'),
(125, 'America/Indiana/Marengo'),
(126, 'America/Indiana/Petersburg'),
(127, 'America/Indiana/Tell_City'),
(128, 'America/Indiana/Vevay'),
(129, 'America/Indiana/Vincennes'),
(130, 'America/Indiana/Winamac'),
(131, 'America/Indianapolis'),
(132, 'America/Inuvik'),
(133, 'America/Iqaluit'),
(134, 'America/Jamaica'),
(135, 'America/Jujuy'),
(136, 'America/Juneau'),
(137, 'America/Kentucky/Louisville'),
(138, 'America/Kentucky/Monticello'),
(139, 'America/Knox_IN'),
(140, 'America/La_Paz'),
(141, 'America/Lima'),
(142, 'America/Los_Angeles'),
(143, 'America/Louisville'),
(144, 'America/Maceio'),
(145, 'America/Managua'),
(146, 'America/Manaus'),
(147, 'America/Marigot'),
(148, 'America/Martinique'),
(149, 'America/Matamoros'),
(150, 'America/Mazatlan'),
(151, 'America/Mendoza'),
(152, 'America/Menominee'),
(153, 'America/Merida'),
(154, 'America/Mexico_City'),
(155, 'America/Miquelon'),
(156, 'America/Moncton'),
(157, 'America/Monterrey'),
(158, 'America/Montevideo'),
(159, 'America/Montreal'),
(160, 'America/Montserrat'),
(161, 'America/Nassau'),
(162, 'America/New_York'),
(163, 'America/Nipigon'),
(164, 'America/Nome'),
(165, 'America/Noronha'),
(166, 'America/North_Dakota/Center'),
(167, 'America/North_Dakota/New_Salem'),
(168, 'America/Ojinaga'),
(169, 'America/Panama'),
(170, 'America/Pangnirtung'),
(171, 'America/Paramaribo'),
(172, 'America/Phoenix'),
(173, 'America/Port-au-Prince'),
(174, 'America/Port_of_Spain'),
(175, 'America/Porto_Acre'),
(176, 'America/Porto_Velho'),
(177, 'America/Puerto_Rico'),
(178, 'America/Rainy_River'),
(179, 'America/Rankin_Inlet'),
(180, 'America/Recife'),
(181, 'America/Regina'),
(182, 'America/Resolute'),
(183, 'America/Rio_Branco'),
(184, 'America/Rosario'),
(185, 'America/Santa_Isabel'),
(186, 'America/Santarem'),
(187, 'America/Santiago'),
(188, 'America/Santo_Domingo'),
(189, 'America/Sao_Paulo'),
(190, 'America/Scoresbysund'),
(191, 'America/Shiprock'),
(192, 'America/St_Barthelemy'),
(193, 'America/St_Johns'),
(194, 'America/St_Kitts'),
(195, 'America/St_Lucia'),
(196, 'America/St_Thomas'),
(197, 'America/St_Vincent'),
(198, 'America/Swift_Current'),
(199, 'America/Tegucigalpa'),
(200, 'America/Thule'),
(201, 'America/Thunder_Bay'),
(202, 'America/Tijuana'),
(203, 'America/Toronto'),
(204, 'America/Tortola'),
(205, 'America/Vancouver'),
(206, 'America/Virgin'),
(207, 'America/Whitehorse'),
(208, 'America/Winnipeg'),
(209, 'America/Yakutat'),
(210, 'America/Yellowknife'),
(211, 'Antarctica/Casey'),
(212, 'Antarctica/Davis'),
(213, 'Antarctica/DumontDUrville'),
(214, 'Antarctica/Mawson'),
(215, 'Antarctica/McMurdo'),
(216, 'Antarctica/Palmer'),
(217, 'Antarctica/Rothera'),
(218, 'Antarctica/South_Pole'),
(219, 'Antarctica/Syowa'),
(220, 'Antarctica/Vostok'),
(221, 'Arctic/Longyearbyen'),
(222, 'Asia/Aden'),
(223, 'Asia/Almaty'),
(224, 'Asia/Amman'),
(225, 'Asia/Anadyr'),
(226, 'Asia/Aqtau'),
(227, 'Asia/Aqtobe'),
(228, 'Asia/Ashgabat'),
(229, 'Asia/Ashkhabad'),
(230, 'Asia/Baghdad'),
(231, 'Asia/Bahrain'),
(232, 'Asia/Baku'),
(233, 'Asia/Bangkok'),
(234, 'Asia/Beirut'),
(235, 'Asia/Bishkek'),
(236, 'Asia/Brunei'),
(237, 'Asia/Calcutta'),
(238, 'Asia/Choibalsan'),
(239, 'Asia/Chongqing'),
(240, 'Asia/Chungking'),
(241, 'Asia/Colombo'),
(242, 'Asia/Dacca'),
(243, 'Asia/Damascus'),
(244, 'Asia/Dhaka'),
(245, 'Asia/Dili'),
(246, 'Asia/Dubai'),
(247, 'Asia/Dushanbe'),
(248, 'Asia/Gaza'),
(249, 'Asia/Harbin'),
(250, 'Asia/Ho_Chi_Minh'),
(251, 'Asia/Hong_Kong'),
(252, 'Asia/Hovd'),
(253, 'Asia/Irkutsk'),
(254, 'Asia/Istanbul'),
(255, 'Asia/Jakarta'),
(256, 'Asia/Jayapura'),
(257, 'Asia/Jerusalem'),
(258, 'Asia/Kabul'),
(259, 'Asia/Kamchatka'),
(260, 'Asia/Karachi'),
(261, 'Asia/Kashgar'),
(262, 'Asia/Kathmandu'),
(263, 'Asia/Katmandu'),
(264, 'Asia/Kolkata'),
(265, 'Asia/Krasnoyarsk'),
(266, 'Asia/Kuala_Lumpur'),
(267, 'Asia/Kuching'),
(268, 'Asia/Kuwait'),
(269, 'Asia/Macao'),
(270, 'Asia/Macau'),
(271, 'Asia/Magadan'),
(272, 'Asia/Makassar'),
(273, 'Asia/Manila'),
(274, 'Asia/Muscat'),
(275, 'Asia/Nicosia'),
(276, 'Asia/Novokuznetsk'),
(277, 'Asia/Novosibirsk'),
(278, 'Asia/Omsk'),
(279, 'Asia/Oral'),
(280, 'Asia/Phnom_Penh'),
(281, 'Asia/Pontianak'),
(282, 'Asia/Pyongyang'),
(283, 'Asia/Qatar'),
(284, 'Asia/Qyzylorda'),
(285, 'Asia/Rangoon'),
(286, 'Asia/Riyadh'),
(287, 'Asia/Saigon'),
(288, 'Asia/Sakhalin'),
(289, 'Asia/Samarkand'),
(290, 'Asia/Seoul'),
(291, 'Asia/Shanghai'),
(292, 'Asia/Singapore'),
(293, 'Asia/Taipei'),
(294, 'Asia/Tashkent'),
(295, 'Asia/Tbilisi'),
(296, 'Asia/Tehran'),
(297, 'Asia/Tel_Aviv'),
(298, 'Asia/Thimbu'),
(299, 'Asia/Thimphu'),
(300, 'Asia/Tokyo'),
(301, 'Asia/Ujung_Pandang'),
(302, 'Asia/Ulaanbaatar'),
(303, 'Asia/Ulan_Bator'),
(304, 'Asia/Urumqi'),
(305, 'Asia/Vientiane'),
(306, 'Asia/Vladivostok'),
(307, 'Asia/Yakutsk'),
(308, 'Asia/Yekaterinburg'),
(309, 'Asia/Yerevan'),
(310, 'Atlantic/Azores'),
(311, 'Atlantic/Bermuda'),
(312, 'Atlantic/Canary'),
(313, 'Atlantic/Cape_Verde'),
(314, 'Atlantic/Faeroe'),
(315, 'Atlantic/Faroe'),
(316, 'Atlantic/Jan_Mayen'),
(317, 'Atlantic/Madeira'),
(318, 'Atlantic/Reykjavik'),
(319, 'Atlantic/South_Georgia'),
(320, 'Atlantic/St_Helena'),
(321, 'Atlantic/Stanley'),
(322, 'Australia/ACT'),
(323, 'Australia/Adelaide'),
(324, 'Australia/Brisbane'),
(325, 'Australia/Broken_Hill'),
(326, 'Australia/Canberra'),
(327, 'Australia/Currie'),
(328, 'Australia/Darwin'),
(329, 'Australia/Eucla'),
(330, 'Australia/Hobart'),
(331, 'Australia/LHI'),
(332, 'Australia/Lindeman'),
(333, 'Australia/Lord_Howe'),
(334, 'Australia/Melbourne'),
(335, 'Australia/North'),
(336, 'Australia/NSW'),
(337, 'Australia/Perth'),
(338, 'Australia/Queensland'),
(339, 'Australia/South'),
(340, 'Australia/Sydney'),
(341, 'Australia/Tasmania'),
(342, 'Australia/Victoria'),
(343, 'Australia/West'),
(344, 'Australia/Yancowinna'),
(345, 'Europe/Amsterdam'),
(346, 'Europe/Andorra'),
(347, 'Europe/Athens'),
(348, 'Europe/Belfast'),
(349, 'Europe/Belgrade'),
(350, 'Europe/Berlin'),
(351, 'Europe/Bratislava'),
(352, 'Europe/Brussels'),
(353, 'Europe/Bucharest'),
(354, 'Europe/Budapest'),
(355, 'Europe/Chisinau'),
(356, 'Europe/Copenhagen'),
(357, 'Europe/Dublin'),
(358, 'Europe/Gibraltar'),
(359, 'Europe/Guernsey'),
(360, 'Europe/Helsinki'),
(361, 'Europe/Isle_of_Man'),
(362, 'Europe/Istanbul'),
(363, 'Europe/Jersey'),
(364, 'Europe/Kaliningrad'),
(365, 'Europe/Kiev'),
(366, 'Europe/Lisbon'),
(367, 'Europe/Ljubljana'),
(368, 'Europe/London'),
(369, 'Europe/Luxembourg'),
(370, 'Europe/Madrid'),
(371, 'Europe/Malta'),
(372, 'Europe/Mariehamn'),
(373, 'Europe/Minsk'),
(374, 'Europe/Monaco'),
(375, 'Europe/Moscow'),
(376, 'Europe/Nicosia'),
(377, 'Europe/Oslo'),
(378, 'Europe/Paris'),
(379, 'Europe/Podgorica'),
(380, 'Europe/Prague'),
(381, 'Europe/Riga'),
(382, 'Europe/Rome'),
(383, 'Europe/Samara'),
(384, 'Europe/San_Marino'),
(385, 'Europe/Sarajevo'),
(386, 'Europe/Simferopol'),
(387, 'Europe/Skopje'),
(388, 'Europe/Sofia'),
(389, 'Europe/Stockholm'),
(390, 'Europe/Tallinn'),
(391, 'Europe/Tirane'),
(392, 'Europe/Tiraspol'),
(393, 'Europe/Uzhgorod'),
(394, 'Europe/Vaduz'),
(395, 'Europe/Vatican'),
(396, 'Europe/Vienna'),
(397, 'Europe/Vilnius'),
(398, 'Europe/Volgograd'),
(399, 'Europe/Warsaw'),
(400, 'Europe/Zagreb'),
(401, 'Europe/Zaporozhye'),
(402, 'Europe/Zurich'),
(403, 'Indian/Antananarivo'),
(404, 'Indian/Chagos'),
(405, 'Indian/Christmas'),
(406, 'Indian/Cocos'),
(407, 'Indian/Comoro'),
(408, 'Indian/Kerguelen'),
(409, 'Indian/Mahe'),
(410, 'Indian/Maldives'),
(411, 'Indian/Mauritius'),
(412, 'Indian/Mayotte'),
(413, 'Indian/Reunion'),
(414, 'Pacific/Apia'),
(415, 'Pacific/Auckland'),
(416, 'Pacific/Chatham'),
(417, 'Pacific/Easter'),
(418, 'Pacific/Efate'),
(419, 'Pacific/Enderbury'),
(420, 'Pacific/Fakaofo'),
(421, 'Pacific/Fiji'),
(422, 'Pacific/Funafuti'),
(423, 'Pacific/Galapagos'),
(424, 'Pacific/Gambier'),
(425, 'Pacific/Guadalcanal'),
(426, 'Pacific/Guam'),
(427, 'Pacific/Honolulu'),
(428, 'Pacific/Johnston'),
(429, 'Pacific/Kiritimati'),
(430, 'Pacific/Kosrae'),
(431, 'Pacific/Kwajalein'),
(432, 'Pacific/Majuro'),
(433, 'Pacific/Marquesas'),
(434, 'Pacific/Midway'),
(435, 'Pacific/Nauru'),
(436, 'Pacific/Niue'),
(437, 'Pacific/Norfolk'),
(438, 'Pacific/Noumea'),
(439, 'Pacific/Pago_Pago'),
(440, 'Pacific/Palau'),
(441, 'Pacific/Pitcairn'),
(442, 'Pacific/Ponape'),
(443, 'Pacific/Port_Moresby'),
(444, 'Pacific/Rarotonga'),
(445, 'Pacific/Saipan'),
(446, 'Pacific/Samoa'),
(447, 'Pacific/Tahiti'),
(448, 'Pacific/Tarawa'),
(449, 'Pacific/Tongatapu'),
(450, 'Pacific/Truk'),
(451, 'Pacific/Wake'),
(452, 'Pacific/Wallis'),
(453, 'Pacific/Yap');

-- --------------------------------------------------------

--
-- Table structure for table `system_freeze`
--

CREATE TABLE `system_freeze` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date_create` int(11) NOT NULL,
  `date_update` int(11) NOT NULL,
  `id_person_create` int(11) NOT NULL,
  `element_type` varchar(255) NOT NULL,
  `element_id` int(11) NOT NULL,
  `data` text NOT NULL,
  `hash` varchar(32) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `original` (`element_type`,`element_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `system_lock`
--

CREATE TABLE `system_lock` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ext` smallint(6) NOT NULL,
  `table` varchar(60) NOT NULL,
  `id_record` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `tablerecord` (`table`,`id_record`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `system_log_email`
--

CREATE TABLE `system_log_email` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL,
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `ext` smallint(5) unsigned NOT NULL,
  `record_type` smallint(5) unsigned NOT NULL,
  `id_record` int(10) unsigned NOT NULL,
  `id_receiver` int(10) unsigned NOT NULL,
  `receiver_type` varchar(32) NOT NULL DEFAULT 'contactperson',
  PRIMARY KEY (`id`),
  KEY `record` (`id_record`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `system_log_error`
--

CREATE TABLE `system_log_error` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL,
  `requestkey` varchar(8) NOT NULL,
  `id_person` int(5) unsigned NOT NULL,
  `level` tinyint(1) unsigned NOT NULL,
  `file` varchar(100) NOT NULL,
  `line` smallint(5) unsigned NOT NULL,
  `message` varchar(255) NOT NULL,
  `data` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `system_preference`
--

CREATE TABLE `system_preference` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_person` int(10) unsigned NOT NULL,
  `ext` smallint(5) unsigned NOT NULL,
  `area` smallint(5) unsigned NOT NULL,
  `preference` varchar(50) NOT NULL,
  `item` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `value` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `fast` (`id_person`,`ext`,`preference`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `system_right`
--

CREATE TABLE `system_right` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ext` smallint(5) unsigned NOT NULL DEFAULT '0',
  `right` tinytext NOT NULL,
  `id_role` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `ext` (`ext`,`id_role`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=898 ;

--
-- Dumping data for table `system_right`
--

INSERT INTO `system_right` VALUES
(2, 119, 'task:track', 2),
(7, 101, 'general:use', 2),
(8, 119, 'task:editOwn', 2),
(10, 111, 'general:use', 3),
(11, 101, 'asset:seeAll', 2),
(13, 101, 'asset:delete', 2),
(14, 101, 'general:use', 3),
(17, 103, 'general:use', 3),
(18, 103, 'general:use', 2),
(19, 103, 'general:use', 1),
(28, 107, 'daytracks:timeExportAllPerson', 2),
(29, 111, 'general:use', 2),
(30, 111, 'general:use', 1),
(31, 126, 'settings:password', 2),
(33, 126, 'general:use', 3),
(34, 126, 'general:use', 1),
(35, 126, 'settings:password', 3),
(36, 126, 'general:use', 2),
(37, 126, 'settings:password', 1),
(50, 115, 'general:area', 3),
(51, 115, 'filtersets:save', 2),
(52, 115, 'general:area', 1),
(53, 115, 'general:area', 2),
(54, 115, 'general:use', 3),
(55, 115, 'general:use', 1),
(56, 115, 'general:use', 2),
(65, 101, 'asset:seeAll', 3),
(66, 101, 'general:use', 1),
(78, 107, 'daytracks:timeExportAllEmployer', 2),
(79, 107, 'daytracks:timeExport', 2),
(102, 113, 'statuschange:firstreminder', 3),
(103, 113, 'statuschange:invoiced', 3),
(104, 113, 'statussee:paid', 3),
(105, 113, 'statussee:canceled', 3),
(106, 113, 'statussee:depreciated', 3),
(107, 113, 'statussee:encashment', 3),
(108, 113, 'statussee:thirdreminder', 3),
(109, 113, 'statussee:finalreminder', 3),
(110, 113, 'statussee:secondreminder', 3),
(111, 113, 'statussee:firstreminder', 3),
(112, 115, 'filtersets:save', 1),
(113, 115, 'filtersets:save', 3),
(114, 115, 'filtersets:deleteAll', 2),
(115, 115, 'filtersets:deleteAll', 1),
(116, 115, 'filtersets:deleteAll', 3),
(117, 115, 'filtersets:hideAll', 2),
(118, 115, 'filtersets:hideAll', 1),
(119, 115, 'filtersets:hideAll', 3),
(120, 115, 'filtersets:renameAll', 2),
(121, 115, 'filtersets:renameAll', 1),
(122, 115, 'filtersets:renameAll', 3),
(123, 119, 'general:use', 2),
(142, 101, 'asset:delete', 3),
(190, 113, 'statussee:invoiced', 3),
(191, 113, 'statussee:approved', 3),
(192, 113, 'statussee:provisional', 3),
(193, 131, 'general:use', 2),
(194, 132, 'general:use', 2),
(196, 113, 'task:infos', 3),
(197, 113, 'task:icons', 3),
(198, 113, 'project:documents', 3),
(199, 113, 'project:infos', 3),
(200, 113, 'project:approvalroles', 3),
(201, 113, 'tab:invoices', 3),
(202, 113, 'tab:billing', 3),
(203, 113, 'general:area', 3),
(204, 113, 'general:use', 3),
(205, 113, 'statuschange:canceled', 3),
(206, 113, 'workflow:approve', 3),
(207, 113, 'workflow:reopen', 3),
(208, 113, 'workflow:download', 3),
(209, 132, 'general:use', 3),
(212, 119, 'task:editAllChargeable', 2),
(213, 119, 'task:editOwnChargeable', 2),
(287, 107, 'daytracks:timeExport', 3),
(288, 107, 'general:use', 2),
(289, 107, 'general:use', 3),
(320, 100, 'general:use', 2),
(321, 100, 'general:use', 1),
(322, 100, 'comment:seeAll', 2),
(323, 100, 'comment:editOwn', 2),
(324, 100, 'comment:editOwn', 1),
(325, 100, 'comment:editAll', 2),
(326, 100, 'comment:requestFeedback', 2),
(327, 100, 'comment:requestFeedback', 1),
(328, 100, 'comment:sendAsEmail', 2),
(329, 100, 'comment:sendAsEmail', 1),
(330, 100, 'comment:deleteOwn', 2),
(331, 100, 'comment:deleteOwn', 1),
(332, 100, 'comment:makePublic', 2),
(333, 100, 'comment:makePublic', 1),
(394, 118, 'general:allrecords', 3),
(395, 118, 'general:allrecords', 2),
(512, 119, 'general:use', 3),
(513, 119, 'task:track', 3),
(514, 119, 'task:editOwn', 3),
(587, 104, 'general:use', 3),
(588, 104, 'general:use', 2),
(589, 104, 'general:area', 3),
(590, 104, 'general:area', 2),
(591, 104, 'event:seeAll', 3),
(592, 104, 'event:seeAll', 2),
(593, 104, 'event:add', 3),
(594, 104, 'event:add', 2),
(595, 104, 'event:editAssigned', 3),
(596, 104, 'event:editAssigned', 2),
(597, 104, 'event:deleteAssigned', 3),
(598, 104, 'event:deleteAssigned', 2),
(599, 104, 'mailing:sendAsEmail', 3),
(600, 104, 'mailing:sendAsEmail', 2),
(601, 104, 'reminders:popup', 3),
(602, 104, 'reminders:popup', 2),
(603, 104, 'reminders:email', 3),
(604, 104, 'reminders:email', 2),
(605, 105, 'general:use', 3),
(606, 105, 'general:use', 2),
(607, 105, 'general:use', 1),
(608, 105, 'comment:seeAll', 3),
(609, 105, 'comment:seeAll', 2),
(610, 105, 'comment:editOwn', 3),
(611, 105, 'comment:editOwn', 2),
(612, 105, 'comment:requestFeedback', 3),
(613, 105, 'comment:requestFeedback', 2),
(614, 105, 'comment:requestFeedback', 1),
(615, 105, 'comment:sendAsEmail', 3),
(616, 105, 'comment:sendAsEmail', 2),
(617, 105, 'comment:sendAsEmail', 1),
(618, 105, 'comment:deleteOwn', 3),
(619, 105, 'comment:deleteOwn', 2),
(620, 105, 'comment:makePublic', 3),
(621, 105, 'comment:makePublic', 2),
(667, 106, 'general:use', 3),
(668, 106, 'general:use', 2),
(669, 106, 'general:use', 1),
(670, 106, 'general:profile', 3),
(671, 106, 'general:profile', 2),
(672, 106, 'general:profile', 1),
(673, 106, 'general:area', 3),
(674, 106, 'general:area', 2),
(675, 106, 'person:seeAllInternalPersons', 3),
(676, 106, 'person:seeAllInternalPersons', 2),
(677, 106, 'person:seeAllPersons', 3),
(678, 106, 'person:seeAllPersons', 2),
(679, 106, 'person:add', 3),
(680, 106, 'person:add', 2),
(681, 106, 'person:editAndDeleteAll', 3),
(682, 106, 'person:editAndDeleteAll', 2),
(683, 106, 'person:enableLogin', 2),
(684, 106, 'person:seeComment', 3),
(685, 106, 'person:seeComment', 2),
(686, 106, 'person:editComment', 3),
(687, 106, 'person:editComment', 2),
(688, 106, 'company:seeAllCompanies', 3),
(689, 106, 'company:seeAllCompanies', 2),
(690, 106, 'company:add', 3),
(691, 106, 'company:add', 2),
(692, 106, 'company:editOwn', 3),
(693, 106, 'company:editOwn', 2),
(694, 106, 'company:editAndDeleteAll', 2),
(695, 106, 'company:seeComment', 3),
(696, 106, 'company:seeComment', 2),
(697, 106, 'company:editComment', 3),
(698, 106, 'company:editComment', 2),
(699, 106, 'relation:seeAllContactinfotypes', 3),
(700, 106, 'relation:seeAllContactinfotypes', 2),
(701, 106, 'relation:seeHomeAddress', 3),
(702, 106, 'relation:seeHomeAddress', 2),
(703, 106, 'relation:seeBusinessAddress', 3),
(704, 106, 'relation:seeBusinessAddress', 2),
(705, 106, 'relation:seeBillingAddress', 3),
(706, 106, 'relation:seeBillingAddress', 2),
(707, 106, 'panelwidgets:staffSelector', 3),
(708, 106, 'panelwidgets:staffSelector', 2),
(709, 106, 'panelwidgets:export', 3),
(710, 106, 'panelwidgets:export', 2),
(711, 112, 'general:use', 3),
(712, 112, 'general:use', 2),
(713, 112, 'general:use', 1),
(714, 112, 'general:area', 3),
(715, 112, 'general:area', 2),
(716, 112, 'general:area', 1),
(717, 112, 'project:seeOwn', 3),
(718, 112, 'project:seeOwn', 2),
(719, 112, 'project:seeOwn', 1),
(720, 112, 'project:seeAll', 3),
(721, 112, 'project:seeAll', 2),
(722, 112, 'project:planning:see', 3),
(723, 112, 'project:planning:see', 2),
(724, 112, 'project:planning:see', 1),
(725, 112, 'project:progress:see', 3),
(726, 112, 'project:progress:see', 2),
(727, 112, 'project:progress:see', 1),
(728, 112, 'project:done:see', 3),
(729, 112, 'project:done:see', 2),
(730, 112, 'project:done:see', 1),
(731, 112, 'project:cleared:see', 3),
(732, 112, 'project:cleared:see', 2),
(733, 112, 'project:warranty:see', 3),
(734, 112, 'project:warranty:see', 2),
(735, 112, 'project:warranty:see', 1),
(736, 112, 'project:add', 3),
(737, 112, 'project:add', 2),
(738, 112, 'project:editAndDelete', 3),
(739, 112, 'project:editAndDelete', 2),
(740, 112, 'seetask:seeAll', 3),
(741, 112, 'seetask:seeAll', 2),
(742, 112, 'seetask:seeAll', 1),
(743, 112, 'seetask:planning:see', 3),
(744, 112, 'seetask:planning:see', 2),
(745, 112, 'seetask:planning:see', 1),
(746, 112, 'seetask:open:see', 3),
(747, 112, 'seetask:open:see', 2),
(748, 112, 'seetask:open:see', 1),
(749, 112, 'seetask:progress:see', 3),
(750, 112, 'seetask:progress:see', 2),
(751, 112, 'seetask:progress:see', 1),
(752, 112, 'seetask:confirm:see', 3),
(753, 112, 'seetask:confirm:see', 2),
(754, 112, 'seetask:confirm:see', 1),
(755, 112, 'seetask:done:see', 3),
(756, 112, 'seetask:done:see', 2),
(757, 112, 'seetask:done:see', 1),
(758, 112, 'seetask:accepted:see', 3),
(759, 112, 'seetask:accepted:see', 2),
(760, 112, 'seetask:accepted:see', 1),
(761, 112, 'seetask:rejected:see', 3),
(762, 112, 'seetask:rejected:see', 2),
(763, 112, 'seetask:rejected:see', 1),
(764, 112, 'seetask:cleared:see', 3),
(765, 112, 'seetask:cleared:see', 2),
(766, 112, 'seetask:cleared:see', 1),
(767, 112, 'addtask:addTaskInOwnProjects', 3),
(768, 112, 'addtask:addTaskInOwnProjects', 2),
(769, 112, 'addtask:addTaskInOwnProjects', 1),
(770, 112, 'addtask:addViaQuickCreateHeadlet', 3),
(771, 112, 'addtask:addViaQuickCreateHeadlet', 2),
(772, 112, 'addtask:addTaskInAllProjects', 3),
(773, 112, 'addtask:addTaskInAllProjects', 2),
(774, 112, 'addtask:addContainerInOwnProjects', 3),
(775, 112, 'addtask:addContainerInOwnProjects', 2),
(776, 112, 'addtask:addContainerInAllProjects', 3),
(777, 112, 'addtask:addContainerInAllProjects', 2),
(778, 112, 'addtask:planning:create', 3),
(779, 112, 'addtask:planning:create', 2),
(780, 112, 'addtask:open:create', 3),
(781, 112, 'addtask:open:create', 2),
(782, 112, 'addtask:progress:create', 3),
(783, 112, 'addtask:progress:create', 2),
(784, 112, 'addtask:confirm:create', 3),
(785, 112, 'addtask:confirm:create', 2),
(786, 112, 'addtask:done:create', 3),
(787, 112, 'addtask:done:create', 2),
(788, 112, 'addtask:accepted:create', 3),
(789, 112, 'addtask:accepted:create', 2),
(790, 112, 'addtask:rejected:create', 3),
(791, 112, 'addtask:rejected:create', 2),
(792, 112, 'addtask:cleared:create', 3),
(793, 112, 'addtask:cleared:create', 2),
(794, 112, 'edittask:editOwnTasks', 3),
(795, 112, 'edittask:editOwnTasks', 2),
(796, 112, 'edittask:editOwnTasks', 1),
(797, 112, 'edittask:editTaskInOwnProjects', 3),
(798, 112, 'edittask:editTaskInOwnProjects', 2),
(799, 112, 'edittask:editTaskInOwnProjects', 1),
(800, 112, 'edittask:editTaskInAllProjects', 3),
(801, 112, 'edittask:editTaskInAllProjects', 2),
(802, 112, 'edittask:editOwnContainers', 3),
(803, 112, 'edittask:editOwnContainers', 2),
(804, 112, 'edittask:editContainerInOwnProjects', 3),
(805, 112, 'edittask:editContainerInOwnProjects', 2),
(806, 112, 'edittask:editContainerInAllProjects', 3),
(807, 112, 'edittask:editContainerInAllProjects', 2),
(808, 112, 'edittask:planning:edit', 3),
(809, 112, 'edittask:planning:edit', 2),
(810, 112, 'edittask:open:edit', 3),
(811, 112, 'edittask:open:edit', 2),
(812, 112, 'edittask:progress:edit', 3),
(813, 112, 'edittask:progress:edit', 2),
(814, 112, 'edittask:confirm:edit', 3),
(815, 112, 'edittask:confirm:edit', 2),
(816, 112, 'edittask:done:edit', 3),
(817, 112, 'edittask:done:edit', 2),
(818, 112, 'edittask:accepted:edit', 3),
(819, 112, 'edittask:accepted:edit', 2),
(820, 112, 'edittask:rejected:edit', 3),
(821, 112, 'edittask:rejected:edit', 2),
(824, 112, 'edittaskdetail:editDateStart', 3),
(825, 112, 'edittaskdetail:editDateStart', 2),
(826, 112, 'edittaskdetail:editDateEnd', 3),
(827, 112, 'edittaskdetail:editDateEnd', 2),
(828, 112, 'edittaskdetail:editDeadline', 3),
(829, 112, 'edittaskdetail:editDeadline', 2),
(830, 112, 'edittaskdetail:editPersonAssigned', 3),
(831, 112, 'edittaskdetail:editPersonAssigned', 2),
(832, 112, 'edittaskdetail:editPersonOwner', 3),
(833, 112, 'edittaskdetail:editPersonOwner', 2),
(834, 112, 'edittaskdetail:editActivity', 3),
(835, 112, 'edittaskdetail:editActivity', 2),
(836, 112, 'edittaskdetail:editEstimatedWorkload', 3),
(837, 112, 'edittaskdetail:editEstimatedWorkload', 2),
(838, 112, 'edittaskdetail:editIsPublic', 3),
(839, 112, 'edittaskdetail:editIsPublic', 2),
(840, 112, 'edittaskdetail:planning:changefrom', 3),
(841, 112, 'edittaskdetail:planning:changefrom', 2),
(842, 112, 'edittaskdetail:open:changefrom', 3),
(843, 112, 'edittaskdetail:open:changefrom', 2),
(844, 112, 'edittaskdetail:progress:changefrom', 3),
(845, 112, 'edittaskdetail:progress:changefrom', 2),
(846, 112, 'edittaskdetail:confirm:changefrom', 3),
(847, 112, 'edittaskdetail:confirm:changefrom', 2),
(848, 112, 'edittaskdetail:confirm:changefrom', 1),
(849, 112, 'edittaskdetail:done:changefrom', 3),
(850, 112, 'edittaskdetail:done:changefrom', 2),
(851, 112, 'edittaskdetail:done:changefrom', 1),
(852, 112, 'edittaskdetail:accepted:changefrom', 3),
(853, 112, 'edittaskdetail:accepted:changefrom', 2),
(854, 112, 'edittaskdetail:rejected:changefrom', 3),
(855, 112, 'edittaskdetail:rejected:changefrom', 2),
(856, 112, 'edittaskdetail:planning:changeto', 3),
(857, 112, 'edittaskdetail:planning:changeto', 2),
(858, 112, 'edittaskdetail:open:changeto', 3),
(859, 112, 'edittaskdetail:open:changeto', 2),
(860, 112, 'edittaskdetail:progress:changeto', 3),
(861, 112, 'edittaskdetail:progress:changeto', 2),
(862, 112, 'edittaskdetail:confirm:changeto', 3),
(863, 112, 'edittaskdetail:confirm:changeto', 2),
(864, 112, 'edittaskdetail:done:changeto', 3),
(865, 112, 'edittaskdetail:done:changeto', 2),
(866, 112, 'edittaskdetail:accepted:changeto', 3),
(867, 112, 'edittaskdetail:accepted:changeto', 2),
(868, 112, 'edittaskdetail:accepted:changeto', 1),
(869, 112, 'edittaskdetail:rejected:changeto', 3),
(870, 112, 'edittaskdetail:rejected:changeto', 2),
(871, 112, 'edittaskdetail:rejected:changeto', 1),
(872, 112, 'edittaskdetail:cleared:changeto', 3),
(873, 112, 'edittaskdetail:cleared:changeto', 2),
(874, 112, 'deletetask:deleteOwnTasks', 3),
(875, 112, 'deletetask:deleteOwnTasks', 2),
(876, 112, 'deletetask:deleteTaskInOwnProjects', 3),
(877, 112, 'deletetask:deleteTaskInOwnProjects', 2),
(878, 112, 'deletetask:deleteTaskInAllProjects', 3),
(879, 112, 'deletetask:deleteTaskInAllProjects', 2),
(880, 112, 'deletetask:deleteOwnContainers', 3),
(881, 112, 'deletetask:deleteOwnContainers', 2),
(882, 112, 'deletetask:deleteContainerInOwnProjects', 3),
(883, 112, 'deletetask:deleteContainerInOwnProjects', 2),
(884, 112, 'deletetask:deleteContainerInAllProjects', 3),
(885, 112, 'deletetask:deleteContainerInAllProjects', 2),
(886, 112, 'export:taskcsv', 2),
(887, 112, 'export:projectcsv', 2),
(888, 112, 'seetask:waiting:see', 2),
(889, 112, 'seetask:waiting:see', 3),
(890, 112, 'addtask:waiting:create', 2),
(891, 112, 'addtask:waiting:create', 3),
(892, 112, 'edittask:waiting:edit', 2),
(893, 112, 'edittask:waiting:edit', 3),
(894, 112, 'edittaskdetail:waiting:changefrom', 2),
(895, 112, 'edittaskdetail:waiting:changefrom', 3),
(896, 112, 'edittaskdetail:waiting:changeto', 2),
(897, 112, 'edittaskdetail:waiting:changeto', 3);

-- --------------------------------------------------------

--
-- Table structure for table `system_role`
--

CREATE TABLE `system_role` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date_create` int(10) unsigned NOT NULL DEFAULT '0',
  `date_update` int(10) unsigned NOT NULL,
  `id_person_create` int(10) unsigned NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `title` varchar(64) NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `description` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `system_role`
--

INSERT INTO `system_role` VALUES
(1, 1264761659, 0, 1, 0, 'Customers', 1, 'Customers with todoyu access'),
(2, 1264762106, 0, 1, 0, 'Project Managers', 1, ''),
(3, 1264762153, 0, 1, 0, 'Staff', 1, 'Executive members of staff');

-- --------------------------------------------------------

--
-- Table structure for table `system_scheduler`
--

CREATE TABLE `system_scheduler` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date_execute` int(11) NOT NULL,
  `class` varchar(100) NOT NULL,
  `is_success` tinyint(1) NOT NULL,
  `message` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `latest` (`class`,`date_execute`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `system_token`
--

CREATE TABLE `system_token` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date_create` int(11) NOT NULL,
  `date_update` int(11) NOT NULL,
  `id_person_create` int(11) NOT NULL,
  `id_person_owner` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `ext` smallint(6) NOT NULL,
  `token_type` int(11) NOT NULL,
  `hash` varchar(32) NOT NULL,
  `callback_params` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

/*!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 */;
