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: `dotproj220`
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]billingcode`
CREATE TABLE `[[dbprefix]]billingcode` (
`billingcode_id` bigint(20) NOT NULL AUTO_INCREMENT,
`billingcode_name` varchar(25) NOT NULL DEFAULT '',
`billingcode_value` float NOT NULL DEFAULT '0',
`billingcode_desc` varchar(255) NOT NULL DEFAULT '',
`billingcode_status` int(1) NOT NULL DEFAULT '0',
`company_id` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`billingcode_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]common_notes`
CREATE TABLE `[[dbprefix]]common_notes` (
`note_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`note_author` int(10) unsigned NOT NULL DEFAULT '0',
`note_module` int(10) unsigned NOT NULL DEFAULT '0',
`note_record_id` int(10) unsigned NOT NULL DEFAULT '0',
`note_category` int(3) unsigned NOT NULL DEFAULT '0',
`note_title` varchar(100) NOT NULL DEFAULT '',
`note_body` text NOT NULL,
`note_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`note_hours` float NOT NULL DEFAULT '0',
`note_code` varchar(8) NOT NULL DEFAULT '',
`note_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`note_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`note_modified_by` int(10) unsigned NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]companies`
CREATE TABLE `[[dbprefix]]companies` (
`company_id` int(10) NOT NULL AUTO_INCREMENT,
`company_module` int(10) NOT NULL DEFAULT '0',
`company_name` varchar(100) DEFAULT '',
`company_phone1` varchar(30) DEFAULT '',
`company_phone2` varchar(30) DEFAULT '',
`company_fax` varchar(30) DEFAULT '',
`company_address1` varchar(50) DEFAULT '',
`company_address2` varchar(50) DEFAULT '',
`company_city` varchar(30) DEFAULT '',
`company_state` varchar(30) DEFAULT '',
`company_zip` varchar(11) DEFAULT '',
`company_primary_url` varchar(255) DEFAULT '',
`company_owner` int(11) NOT NULL DEFAULT '0',
`company_description` text,
`company_type` int(3) NOT NULL DEFAULT '0',
`company_email` varchar(255) DEFAULT NULL,
`company_custom` longtext,
PRIMARY KEY (`company_id`),
KEY `idx_cpy1` (`company_owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]config`
CREATE TABLE `[[dbprefix]]config` (
`config_id` int(11) NOT NULL AUTO_INCREMENT,
`config_name` varchar(127) NOT NULL DEFAULT '',
`config_value` varchar(255) NOT NULL DEFAULT '',
`config_group` varchar(255) NOT NULL DEFAULT '',
`config_type` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`config_id`),
UNIQUE KEY `config_name` (`config_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=75 ;
-- Dumping data for table `[[dbprefix]]config`
INSERT INTO `[[dbprefix]]config` VALUES
(1, 'host_locale', 'en', 'ui', 'text'),
(2, 'check_overallocation', 'false', 'tasks', 'checkbox'),
(3, 'currency_symbol', '$', 'ui', 'text'),
(4, 'host_style', 'default', 'ui', 'text'),
(5, 'company_name', '[[comp_name]]', 'ui', 'text'),
(6, 'page_title', '[[site_name]]', 'ui', 'text'),
(7, 'site_domain', 'example.com', 'ui', 'text'),
(8, 'email_prefix', '[dotProject]', 'ui', 'text'),
(9, 'admin_username', 'admin', 'ui', 'text'),
(10, 'username_min_len', '4', 'auth', 'text'),
(11, 'password_min_len', '4', 'auth', 'text'),
(12, 'enable_gantt_charts', 'true', 'tasks', 'checkbox'),
(13, 'log_changes', 'false', '', 'checkbox'),
(14, 'check_task_dates', 'true', 'tasks', 'checkbox'),
(15, 'check_task_empty_dynamic', 'false', 'tasks', 'checkbox'),
(16, 'locale_warn', 'false', 'ui', 'checkbox'),
(17, 'locale_alert', '^', 'ui', 'text'),
(18, 'daily_working_hours', '8.0', 'tasks', 'text'),
(19, 'display_debug', 'false', 'ui', 'checkbox'),
(20, 'link_tickets_kludge', 'false', 'tasks', 'checkbox'),
(21, 'show_all_task_assignees', 'false', 'tasks', 'checkbox'),
(22, 'direct_edit_assignment', 'false', 'tasks', 'checkbox'),
(23, 'restrict_color_selection', 'false', 'ui', 'checkbox'),
(24, 'cal_day_view_show_minical', 'true', 'calendar', 'checkbox'),
(25, 'cal_day_start', '8', 'calendar', 'text'),
(26, 'cal_day_end', '17', 'calendar', 'text'),
(27, 'cal_day_increment', '15', 'calendar', 'text'),
(28, 'cal_working_days', '1,2,3,4,5', 'calendar', 'text'),
(29, 'restrict_task_time_editing', 'false', 'tasks', 'checkbox'),
(30, 'default_view_m', 'calendar', 'ui', 'text'),
(31, 'default_view_a', 'day_view', 'ui', 'text'),
(32, 'default_view_tab', '1', 'ui', 'text'),
(33, 'index_max_file_size', '-1', 'file', 'text'),
(34, 'session_handling', 'app', 'session', 'select'),
(35, 'session_idle_time', '2d', 'session', 'text'),
(36, 'session_max_lifetime', '1m', 'session', 'text'),
(37, 'debug', '1', '', 'text'),
(38, 'parser_default', '/usr/bin/strings', 'file', 'text'),
(39, 'parser_application/msword', '/usr/bin/strings', 'file', 'text'),
(40, 'parser_text/html', '/usr/bin/strings', 'file', 'text'),
(41, 'parser_application/pdf', '/usr/bin/pdftotext', 'file', 'text'),
(42, 'files_ci_preserve_attr', 'true', 'file', 'checkbox'),
(43, 'files_show_versions_edit', 'false', 'file', 'checkbox'),
(44, 'auth_method', 'sql', 'auth', 'select'),
(45, 'ldap_host', 'localhost', 'ldap', 'text'),
(46, 'ldap_port', '389', 'ldap', 'text'),
(47, 'ldap_version', '3', 'ldap', 'text'),
(48, 'ldap_base_dn', 'dc=saki,dc=com,dc=au', 'ldap', 'text'),
(49, 'ldap_user_filter', '(uid=%USERNAME%)', 'ldap', 'text'),
(50, 'postnuke_allow_login', 'true', 'auth', 'checkbox'),
(51, 'reset_memory_limit', '32M', 'tasks', 'text'),
(52, 'mail_transport', 'php', 'mail', 'select'),
(53, 'mail_host', 'localhost', 'mail', 'text'),
(54, 'mail_port', '25', 'mail', 'text'),
(55, 'mail_auth', 'false', 'mail', 'checkbox'),
(56, 'mail_user', '', 'mail', 'text'),
(57, 'mail_pass', '', 'mail', 'password'),
(58, 'mail_defer', 'false', 'mail', 'checkbox'),
(59, 'mail_timeout', '30', 'mail', 'text'),
(60, 'session_gc_scan_queue', 'false', 'session', 'checkbox'),
(61, 'task_reminder_control', 'false', 'task_reminder', 'checkbox'),
(62, 'task_reminder_days_before', '1', 'task_reminder', 'text'),
(63, 'task_reminder_repeat', '100', 'task_reminder', 'text'),
(64, 'gacl_cache', 'false', 'gacl', 'checkbox'),
(65, 'gacl_expire', 'true', 'gacl', 'checkbox'),
(66, 'gacl_cache_dir', '/tmp', 'gacl', 'text'),
(67, 'gacl_timeout', '600', 'gacl', 'text'),
(68, 'mail_smtp_tls', 'false', 'mail', 'checkbox'),
(69, 'ldap_search_user', 'Manager', 'ldap', 'text'),
(70, 'ldap_search_pass', 'secret', 'ldap', 'password'),
(71, 'ldap_allow_login', 'true', 'ldap', 'checkbox'),
(72, 'user_contact_inactivate', 'true', 'auth', 'checkbox'),
(73, 'user_contact_activate', 'false', 'auth', 'checkbox'),
(74, 'task_reminder_batch', 'false', 'task_reminder', 'checkbox');
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]config_list`
CREATE TABLE `[[dbprefix]]config_list` (
`config_list_id` int(11) NOT NULL AUTO_INCREMENT,
`config_id` int(11) NOT NULL DEFAULT '0',
`config_list_name` varchar(30) NOT NULL DEFAULT '',
PRIMARY KEY (`config_list_id`),
KEY `config_id` (`config_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
-- Dumping data for table `[[dbprefix]]config_list`
INSERT INTO `[[dbprefix]]config_list` VALUES
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]contacts`
CREATE TABLE `[[dbprefix]]contacts` (
`contact_id` int(11) NOT NULL AUTO_INCREMENT,
`contact_first_name` varchar(30) DEFAULT NULL,
`contact_last_name` varchar(30) DEFAULT NULL,
`contact_order_by` varchar(30) NOT NULL DEFAULT '',
`contact_title` varchar(50) DEFAULT NULL,
`contact_birthday` date DEFAULT NULL,
`contact_job` varchar(255) DEFAULT NULL,
`contact_company` varchar(100) NOT NULL DEFAULT '',
`contact_department` tinytext,
`contact_type` varchar(20) DEFAULT NULL,
`contact_email` varchar(255) DEFAULT NULL,
`contact_email2` varchar(255) DEFAULT NULL,
`contact_url` varchar(255) DEFAULT NULL,
`contact_phone` varchar(30) DEFAULT NULL,
`contact_phone2` varchar(30) DEFAULT NULL,
`contact_fax` varchar(30) DEFAULT NULL,
`contact_mobile` varchar(30) DEFAULT NULL,
`contact_address1` varchar(60) DEFAULT NULL,
`contact_address2` varchar(60) DEFAULT NULL,
`contact_city` varchar(30) DEFAULT NULL,
`contact_state` varchar(30) DEFAULT NULL,
`contact_zip` varchar(11) DEFAULT NULL,
`contact_country` varchar(30) DEFAULT NULL,
`contact_jabber` varchar(255) DEFAULT NULL,
`contact_icq` varchar(20) DEFAULT NULL,
`contact_msn` varchar(255) DEFAULT NULL,
`contact_yahoo` varchar(255) DEFAULT NULL,
`contact_aol` varchar(30) DEFAULT NULL,
`contact_project` int(11) NOT NULL DEFAULT '0',
`contact_icon` varchar(20) DEFAULT 'obj/contact',
`contact_owner` int(10) unsigned DEFAULT '0',
`contact_private` tinyint(3) unsigned DEFAULT '0',
PRIMARY KEY (`contact_id`),
KEY `idx_oby` (`contact_order_by`),
KEY `idx_co` (`contact_company`),
KEY `idx_prp` (`contact_project`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `[[dbprefix]]contacts`
INSERT INTO `[[dbprefix]]contacts` VALUES
(1, 'Admin', 'Person', '', NULL, NULL, NULL, '', NULL, NULL, '[[admin_email]]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 'obj/contact', 0, 0);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]custom_fields_lists`
CREATE TABLE `[[dbprefix]]custom_fields_lists` (
`field_id` int(11) DEFAULT NULL,
`list_option_id` int(11) DEFAULT NULL,
`list_value` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]custom_fields_struct`
CREATE TABLE `[[dbprefix]]custom_fields_struct` (
`field_id` int(11) NOT NULL,
`field_module` varchar(30) DEFAULT NULL,
`field_page` varchar(30) DEFAULT NULL,
`field_htmltype` varchar(20) DEFAULT NULL,
`field_datatype` varchar(20) DEFAULT NULL,
`field_order` int(11) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`field_extratags` varchar(250) DEFAULT NULL,
`field_description` varchar(250) DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]custom_fields_values`
CREATE TABLE `[[dbprefix]]custom_fields_values` (
`value_id` int(11) DEFAULT NULL,
`value_module` varchar(30) DEFAULT NULL,
`value_object_id` int(11) DEFAULT NULL,
`value_field_id` int(11) DEFAULT NULL,
`value_charvalue` varchar(250) DEFAULT NULL,
`value_intvalue` int(11) DEFAULT NULL,
KEY `idx_cfv_id` (`value_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]departments`
CREATE TABLE `[[dbprefix]]departments` (
`dept_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`dept_parent` int(10) unsigned NOT NULL DEFAULT '0',
`dept_company` int(10) unsigned NOT NULL DEFAULT '0',
`dept_name` tinytext NOT NULL,
`dept_phone` varchar(30) DEFAULT NULL,
`dept_fax` varchar(30) DEFAULT NULL,
`dept_address1` varchar(30) DEFAULT NULL,
`dept_address2` varchar(30) DEFAULT NULL,
`dept_city` varchar(30) DEFAULT NULL,
`dept_state` varchar(30) DEFAULT NULL,
`dept_zip` varchar(11) DEFAULT NULL,
`dept_url` varchar(25) DEFAULT NULL,
`dept_owner` int(10) unsigned NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Department heirarchy under a company' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]dotpermissions`
CREATE TABLE `[[dbprefix]]dotpermissions` (
`acl_id` int(11) NOT NULL DEFAULT '0',
`user_id` varchar(80) NOT NULL DEFAULT '',
`section` varchar(80) NOT NULL DEFAULT '',
`axo` varchar(80) NOT NULL DEFAULT '',
`permission` varchar(80) NOT NULL DEFAULT '',
`allow` int(11) NOT NULL DEFAULT '0',
`priority` int(11) NOT NULL DEFAULT '0',
`enabled` int(11) NOT NULL DEFAULT '0',
KEY `user_id` (`user_id`,`section`,`permission`,`axo`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table `[[dbprefix]]dotpermissions`
INSERT INTO `[[dbprefix]]dotpermissions` VALUES
(12, '1', 'sys', 'acl', 'access', 1, 3, 1),
(11, '1', 'app', 'admin', 'access', 1, 4, 1),
(11, '1', 'app', 'calendar', 'access', 1, 4, 1),
(11, '1', 'app', 'events', 'access', 1, 4, 1),
(11, '1', 'app', 'companies', 'access', 1, 4, 1),
(11, '1', 'app', 'contacts', 'access', 1, 4, 1),
(11, '1', 'app', 'departments', 'access', 1, 4, 1),
(11, '1', 'app', 'files', 'access', 1, 4, 1),
(11, '1', 'app', 'file_folders', 'access', 1, 4, 1),
(11, '1', 'app', 'forums', 'access', 1, 4, 1),
(11, '1', 'app', 'help', 'access', 1, 4, 1),
(11, '1', 'app', 'projects', 'access', 1, 4, 1),
(11, '1', 'app', 'system', 'access', 1, 4, 1),
(11, '1', 'app', 'tasks', 'access', 1, 4, 1),
(11, '1', 'app', 'task_log', 'access', 1, 4, 1),
(11, '1', 'app', 'ticketsmith', 'access', 1, 4, 1),
(11, '1', 'app', 'public', 'access', 1, 4, 1),
(11, '1', 'app', 'roles', 'access', 1, 4, 1),
(11, '1', 'app', 'users', 'access', 1, 4, 1),
(11, '1', 'app', 'admin', 'add', 1, 4, 1),
(11, '1', 'app', 'calendar', 'add', 1, 4, 1),
(11, '1', 'app', 'events', 'add', 1, 4, 1),
(11, '1', 'app', 'companies', 'add', 1, 4, 1),
(11, '1', 'app', 'contacts', 'add', 1, 4, 1),
(11, '1', 'app', 'departments', 'add', 1, 4, 1),
(11, '1', 'app', 'files', 'add', 1, 4, 1),
(11, '1', 'app', 'file_folders', 'add', 1, 4, 1),
(11, '1', 'app', 'forums', 'add', 1, 4, 1),
(11, '1', 'app', 'help', 'add', 1, 4, 1),
(11, '1', 'app', 'projects', 'add', 1, 4, 1),
(11, '1', 'app', 'system', 'add', 1, 4, 1),
(11, '1', 'app', 'tasks', 'add', 1, 4, 1),
(11, '1', 'app', 'task_log', 'add', 1, 4, 1),
(11, '1', 'app', 'ticketsmith', 'add', 1, 4, 1),
(11, '1', 'app', 'public', 'add', 1, 4, 1),
(11, '1', 'app', 'roles', 'add', 1, 4, 1),
(11, '1', 'app', 'users', 'add', 1, 4, 1),
(11, '1', 'app', 'admin', 'delete', 1, 4, 1),
(11, '1', 'app', 'calendar', 'delete', 1, 4, 1),
(11, '1', 'app', 'events', 'delete', 1, 4, 1),
(11, '1', 'app', 'companies', 'delete', 1, 4, 1),
(11, '1', 'app', 'contacts', 'delete', 1, 4, 1),
(11, '1', 'app', 'departments', 'delete', 1, 4, 1),
(11, '1', 'app', 'files', 'delete', 1, 4, 1),
(11, '1', 'app', 'file_folders', 'delete', 1, 4, 1),
(11, '1', 'app', 'forums', 'delete', 1, 4, 1),
(11, '1', 'app', 'help', 'delete', 1, 4, 1),
(11, '1', 'app', 'projects', 'delete', 1, 4, 1),
(11, '1', 'app', 'system', 'delete', 1, 4, 1),
(11, '1', 'app', 'tasks', 'delete', 1, 4, 1),
(11, '1', 'app', 'task_log', 'delete', 1, 4, 1),
(11, '1', 'app', 'ticketsmith', 'delete', 1, 4, 1),
(11, '1', 'app', 'public', 'delete', 1, 4, 1),
(11, '1', 'app', 'roles', 'delete', 1, 4, 1),
(11, '1', 'app', 'users', 'delete', 1, 4, 1),
(11, '1', 'app', 'admin', 'edit', 1, 4, 1),
(11, '1', 'app', 'calendar', 'edit', 1, 4, 1),
(11, '1', 'app', 'events', 'edit', 1, 4, 1),
(11, '1', 'app', 'companies', 'edit', 1, 4, 1),
(11, '1', 'app', 'contacts', 'edit', 1, 4, 1),
(11, '1', 'app', 'departments', 'edit', 1, 4, 1),
(11, '1', 'app', 'files', 'edit', 1, 4, 1),
(11, '1', 'app', 'file_folders', 'edit', 1, 4, 1),
(11, '1', 'app', 'forums', 'edit', 1, 4, 1),
(11, '1', 'app', 'help', 'edit', 1, 4, 1),
(11, '1', 'app', 'projects', 'edit', 1, 4, 1),
(11, '1', 'app', 'system', 'edit', 1, 4, 1),
(11, '1', 'app', 'tasks', 'edit', 1, 4, 1),
(11, '1', 'app', 'task_log', 'edit', 1, 4, 1),
(11, '1', 'app', 'ticketsmith', 'edit', 1, 4, 1),
(11, '1', 'app', 'public', 'edit', 1, 4, 1),
(11, '1', 'app', 'roles', 'edit', 1, 4, 1),
(11, '1', 'app', 'users', 'edit', 1, 4, 1),
(11, '1', 'app', 'admin', 'view', 1, 4, 1),
(11, '1', 'app', 'calendar', 'view', 1, 4, 1),
(11, '1', 'app', 'events', 'view', 1, 4, 1),
(11, '1', 'app', 'companies', 'view', 1, 4, 1),
(11, '1', 'app', 'contacts', 'view', 1, 4, 1),
(11, '1', 'app', 'departments', 'view', 1, 4, 1),
(11, '1', 'app', 'files', 'view', 1, 4, 1),
(11, '1', 'app', 'file_folders', 'view', 1, 4, 1),
(11, '1', 'app', 'forums', 'view', 1, 4, 1),
(11, '1', 'app', 'help', 'view', 1, 4, 1),
(11, '1', 'app', 'projects', 'view', 1, 4, 1),
(11, '1', 'app', 'system', 'view', 1, 4, 1),
(11, '1', 'app', 'tasks', 'view', 1, 4, 1),
(11, '1', 'app', 'task_log', 'view', 1, 4, 1),
(11, '1', 'app', 'ticketsmith', 'view', 1, 4, 1),
(11, '1', 'app', 'public', 'view', 1, 4, 1),
(11, '1', 'app', 'roles', 'view', 1, 4, 1),
(11, '1', 'app', 'users', 'view', 1, 4, 1);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]dpversion`
CREATE TABLE `[[dbprefix]]dpversion` (
`code_version` varchar(10) NOT NULL DEFAULT '',
`db_version` int(11) NOT NULL DEFAULT '0',
`last_db_update` date NOT NULL DEFAULT '0000-00-00',
`last_code_update` date NOT NULL DEFAULT '0000-00-00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table `[[dbprefix]]dpversion`
INSERT INTO `[[dbprefix]]dpversion` VALUES
('2.2.0', 2, '2013-01-05', '2013-07-27');
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]events`
CREATE TABLE `[[dbprefix]]events` (
`event_id` int(11) NOT NULL AUTO_INCREMENT,
`event_title` varchar(255) NOT NULL DEFAULT '',
`event_start_date` datetime DEFAULT NULL,
`event_end_date` datetime DEFAULT NULL,
`event_parent` int(11) unsigned NOT NULL DEFAULT '0',
`event_description` text,
`event_times_recuring` int(11) unsigned NOT NULL DEFAULT '0',
`event_recurs` int(11) unsigned NOT NULL DEFAULT '0',
`event_remind` int(10) unsigned NOT NULL DEFAULT '0',
`event_icon` varchar(20) DEFAULT 'obj/event',
`event_owner` int(11) DEFAULT '0',
`event_project` int(11) DEFAULT '0',
`event_private` tinyint(3) DEFAULT '0',
`event_type` tinyint(3) DEFAULT '0',
`event_cwd` tinyint(3) DEFAULT '0',
`event_notify` tinyint(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`event_id`),
KEY `id_esd` (`event_start_date`),
KEY `id_eed` (`event_end_date`),
KEY `id_evp` (`event_parent`),
KEY `idx_ev1` (`event_owner`),
KEY `idx_ev2` (`event_project`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]event_queue`